diff --git a/conf/nginx.conf b/conf/nginx.conf index 1004e1c..07dd39a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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__/;