This commit is contained in:
franknstayn
2023-08-30 00:13:36 +08:00
parent 1e6ceed833
commit 16960e2e5d
2 changed files with 3 additions and 3 deletions

View File

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