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

Don't 302 to docs on /

This commit is contained in:
orhtej2 2023-10-21 23:46:09 +02:00
parent ac656c0f20
commit 0f4d132972

View file

@ -1,9 +1,11 @@
rewrite ^__PATH__$ __PATH__/ permanent;
location = __PATH__/ {
add_header Content-Type text/plain;
return 200 'Syncstorage is running';
}
location __PATH__/ {
# Path to source
alias __INSTALL_DIR__/ ;
include uwsgi_params;
# Needed for long running operations in admin interface
proxy_pass http://127.0.0.1:__PORT__/;