1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00

Try without root level return 200 in nginx

This commit is contained in:
Salamandar 2024-01-18 11:44:46 +01:00
parent 6c5a20d8bd
commit 3072c0e002

View file

@ -9,10 +9,10 @@ location __PATH__/ {
proxy_buffering off; proxy_buffering off;
} }
location = __PATH__/ { # location = __PATH__/ {
default_type text/plain; # default_type text/plain;
return 200 "This is where Standard Notes - Syncing Server is installed."; # return 200 "This is where Standard Notes - Syncing Server is installed.";
} # }
location __PATH__/files/ { location __PATH__/files/ {
proxy_pass http://127.0.0.1:__PORT_FILES__/; proxy_pass http://127.0.0.1:__PORT_FILES__/;