From 5f72079cbffeef90fd8ec13bf5ca10f469cbf871 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Fri, 8 Mar 2013 13:36:56 +0530 Subject: [PATCH] Added PHP FastCGI PASS --- conf/nginx/singlesite/basic.conf | 1 + conf/nginx/singlesite/fastcgi-cache.conf | 1 + conf/nginx/singlesite/w3-total-cache.conf | 1 + conf/nginx/singlesite/wp-super-cache.conf | 1 + 4 files changed, 4 insertions(+) diff --git a/conf/nginx/singlesite/basic.conf b/conf/nginx/singlesite/basic.conf index 51d05ce8..b493c37e 100644 --- a/conf/nginx/singlesite/basic.conf +++ b/conf/nginx/singlesite/basic.conf @@ -14,6 +14,7 @@ server { location ~ \.php$ { include fastcgi_params; + #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php5-fpm.sock; } } diff --git a/conf/nginx/singlesite/fastcgi-cache.conf b/conf/nginx/singlesite/fastcgi-cache.conf index 3258658d..4a67ce99 100644 --- a/conf/nginx/singlesite/fastcgi-cache.conf +++ b/conf/nginx/singlesite/fastcgi-cache.conf @@ -39,6 +39,7 @@ server { location ~ .php$ { try_files $uri /index.php; include fastcgi_params; + #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_cache_bypass $no_cache; diff --git a/conf/nginx/singlesite/w3-total-cache.conf b/conf/nginx/singlesite/w3-total-cache.conf index aee9d817..61e93dd9 100644 --- a/conf/nginx/singlesite/w3-total-cache.conf +++ b/conf/nginx/singlesite/w3-total-cache.conf @@ -39,6 +39,7 @@ server { location ~ .php$ { try_files $uri /index.php; include fastcgi_params; + #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php5-fpm.sock; } diff --git a/conf/nginx/singlesite/wp-super-cache.conf b/conf/nginx/singlesite/wp-super-cache.conf index 478ac966..ab2d2dc4 100644 --- a/conf/nginx/singlesite/wp-super-cache.conf +++ b/conf/nginx/singlesite/wp-super-cache.conf @@ -38,6 +38,7 @@ server { location ~ .php$ { try_files $uri /index.php; include fastcgi_params; + #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php5-fpm.sock; }