diff --git a/default.conf b/default.conf index cb2f91c..1af1113 100644 --- a/default.conf +++ b/default.conf @@ -11,7 +11,7 @@ server { location ~ \.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; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info;