Closed th0mcat closed 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.
Closing since readme has been improved since this PR.
Other reverse-proxy examples are welcome.
I did some testing with NGINX with having the proxy options:
location /_matrix/push/v1/notify {
block, orHaving 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.