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