diff --git a/conf/nginx.conf b/conf/nginx.conf index 50e6a3c..60b0ab8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,5 @@ -location ^~ __PATH__ { +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location ^~ __PATH__/ { alias __FINALPATH__/public/; try_files $uri $uri/ @snipe; index index.php;