diff --git a/conf/nginx.conf b/conf/nginx.conf index 7530d83..56a3fde 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,9 +7,8 @@ location __PATH__/ { } # Internally redirect /wetty/ to /wetty because the app wants this - location =__PATH__/ { - rewrite ^__PATH__/$ __PATH__; - } + # break tells nginx to continue processing the location block + rewrite ^__PATH__/$ __PATH__ break; proxy_pass http://localhost:__PORT__; proxy_http_version 1.1;