diff --git a/conf/nginx.conf b/conf/nginx.conf index 2a8a496..5b8e8e1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,5 @@ -location __PATH__ { +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location __PATH__/ { proxy_pass https://127.0.0.1:__PORT__/; proxy_redirect off;