diff --git a/conf/nginx.conf b/conf/nginx.conf index 5a98c4f..f5e8855 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location ^~ __PATH__ { +location __PATH__/ { # Path to source alias __FINALPATH__/public/; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index db3ac1d..9d360d2 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -358,7 +358,7 @@ request_terminate_timeout = 1d ; Chdir to this directory at the start. ; Note: relative path can be used. ; Default Value: current directory or / when chroot -chdir = __FINALPATH__/public +chdir = __FINALPATH__ ; Redirect worker stdout and stderr into main error log. If not set, stdout and ; stderr will be redirected to /dev/null according to FastCGI specs.