From bb5cd312d055741650c827fe786bbcee59749556 Mon Sep 17 00:00:00 2001 From: Giacomo Trezzi Date: Mon, 12 Oct 2020 16:54:31 +0200 Subject: [PATCH] connect to php-fpm service --- docker/nginx/conf.d/default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf index 87a7422..190e04d 100644 --- a/docker/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -20,7 +20,7 @@ server { error_page 404 /index.php; location ~ \.php$ { - fastcgi_pass 127.0.0.1:9000; + fastcgi_pass php-fpm:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include fastcgi_params;