From 20ce8451f4126df6e1efded71d4ca63458a99323 Mon Sep 17 00:00:00 2001 From: jgen Date: Tue, 18 Feb 2014 00:37:07 -0500 Subject: [PATCH] Default is a unix socket. --- tests/setup_test_env.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/setup_test_env.sh b/tests/setup_test_env.sh index 567fd93e..12aee6a5 100644 --- a/tests/setup_test_env.sh +++ b/tests/setup_test_env.sh @@ -25,8 +25,6 @@ sudo chmod -R 0777 $SHIMMIE_ROOT NGINX_CONF="/etc/nginx/sites-enabled/default" -sudo cat /etc/nginx/nginx.conf - # nginx configuration echo " server { @@ -48,11 +46,9 @@ server { #} location ~ \.php($|/) { - fastcgi_pass 127.0.0.1:9000; - include fastcgi_params; + fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; - fastcgi_read_timeout 600; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + include fastcgi_params; } } " | sudo tee $NGINX_CONF > /dev/null