UP-NextPush / server-app

UnifiedPush provider for Nextcloud - server application - Moved to https://codeberg.org/NextPush/uppush
GNU Affero General Public License v3.0
67 stars 8 forks source link

Made installation directions a bit clearer #15

Closed th0mcat closed 2 years ago

th0mcat commented 2 years ago

I did some testing with NGINX with having the proxy options:

Having the proxy options nested inside the location block showed much better results with my phone actually receiving the push notifications when idle.

I've done no testing with apache, so I do not know if my changes work, though nothing was really changed.

p1gp1g commented 2 years ago

I have a bit reworded the readme, and adding an example conf file for nginx : https://github.com/UP-NextPush/server-app/blob/main/reverse_proxy_examples/nginx.conf . I hope it will help.

Just for your information, the proxy timeout rules are not meant to be in the matrix gateway block. It is used to keep a long keepalive for the NextPush android app SSE request.

p1gp1g commented 2 years ago

Closing since readme has been improved since this PR.

Other reverse-proxy examples are welcome.