diff --git a/conf/nginx.conf b/conf/nginx.conf index c8abe43..09d1d2e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location __PATH__ { +location __PATH__/ { alias __FINALPATH__/p/; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent;