Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

UP-NextPush/server-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NextPush - Server App

Moved to https://codeberg.org/NextPush/uppush

UnifiedPush provider for Nextcloud - server application

Requirement

Your Nextcloud instance needs to have a Redis server installed and listening for connections.

Installation

  1. Install this Nextcloud application from the store: https://apps.nextcloud.com/apps/uppush .

  2. 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>
    

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.

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

Development

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

Credit

This application has been inspired by Nextcloud Push Notifier