Skip to content

UnifiedPush provider for Nextcloud - server application

License

Notifications You must be signed in to change notification settings

tonytonyistony/server-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

UnifiedPush provider for Nextcloud - server application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.6%
  • Shell 2.4%