This commit is contained in:
franknstayn
2023-08-28 04:03:49 +08:00
parent 673c179212
commit 8baa6b0d13

View File

@@ -11,7 +11,7 @@ server {
location ~ \.php { location ~ \.php {
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_pass php-fpm:9001; # Use the service name and exposed port fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
include fastcgi_params; include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;