Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 1.3 KB

README.md

File metadata and controls

57 lines (44 loc) · 1.3 KB

NextPush - Server App

UnifiedPush provider for Nextcloud - server application

Requirement

It require the nextcloud server to be installed with Redis.

Installation

  1. The app had to be installed to nextcloud/apps/uppush :
git clone https://github.com/UP-NextPush/server-app/ nextcloud/apps/uppush
  1. 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
  1. 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>

Gateways

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

Credit

This application has been inspired by Nextcloud Push Notifier