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:
parent
ac656c0f20
commit
0f4d132972
1 changed files with 6 additions and 4 deletions
|
@ -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__/;
|
||||
|
|
Loading…
Add table
Reference in a new issue