From 45c279c555ad1b3ea9fb3a02105368796c8e95b0 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 18 Apr 2020 06:19:32 +0200 Subject: [PATCH] fix nginx / php-fpm --- conf/nginx.conf | 2 +- conf/php-fpm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.