UnifiedPush provider for Nextcloud - server application
Your Nextcloud instance needs to have a Redis server installed and listening for connections.
-
Install this Nextcloud application from the store: https://apps.nextcloud.com/apps/uppush .
-
Configure the reverse-proxy. (See examples of reverse-proxy conf)
a. The reverse-proxy need to be configured for long timeout :
Nginx: - Server Block
proxy_connect_timeout 10m; proxy_send_timeout 10m; proxy_read_timeout 10m;
Apache: - VirtalHost Block
ProxyTimeout 600
b. The reverse-proxy need to be configured without buffering :
Nginx: - Server Block
proxy_buffering off;
Apache (php configuration): - VirtalHost Block
<Proxy "fcgi://localhost/" disablereuse=on flushpackets=on max=10> </Proxy>
The app can be used as a personal matrix gateway. It requires to pass requests to the path /_matrix/push/v1/notify
to /index.php/apps/uppush/gateway/matrix
.
See examples of reverse-proxy conf
Nginx: - Server Block
location /_matrix/push/v1/notify {
proxy_pass http://127.0.0.1:5000/index.php/apps/uppush/gateway/matrix;
}
Apache: - VirtalHost Block
ProxyPass "/_matrix/push/v1/notify" http://127.0.0.1:5000/index.php/apps/uppush/gateway/matrix
Clone the repository to nextcloud/apps/uppush instead of installing from Nextcloud store.
git clone https://github.com/UP-NextPush/server-app/ nextcloud/apps/uppush
This application has been inspired by Nextcloud Push Notifier