Update gotify.subfolder.conf.sample

added rewrite to fix issues hitting page:
https://gotify.net/docs/nginx
This commit is contained in:
collateral127 2022-05-24 09:28:54 +10:00 committed by GitHub
parent 0c6ea75f39
commit e05e774ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,4 +23,5 @@ location /gotify/ {
set $upstream_port 80; set $upstream_port 80;
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
rewrite ^/gotify(/.*) $1 break;
} }