UnifiedPush provider for Nextcloud - server application
It require the nextcloud server to be installed with Redis.
- The app had to be installed to nextcloud/apps/uppush :
git clone https://github.com/UP-NextPush/server-app/ nextcloud/apps/uppush
- The reverse-proxy need to be configured for long timeout :
Nginx:
proxy_connect_timeout 10m;
proxy_send_timeout 10m;
proxy_read_timeout 10m;
Apache:
ProxyTimeout 600
- The reverse-proxy need to be configured without buffering : Nginx:
proxy_buffering off;
Apache (php configuration):
<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
.
Nginx:
location /_matrix/push/v1/notify {
proxy_pass http://127.0.0.1:5000/index.php/apps/uppush/gateway/matrix;
}
Apache:
ProxyPass "/_matrix/push/v1/notify" http://127.0.0.1:5000/index.php/apps/uppush/gateway/matrix
This application has been inspired by Nextcloud Push Notifier