Browse Source

Added PHP FastCGI PASS

old-stable
Mitesh Shah 12 years ago
parent
commit
5f72079cbf
  1. 1
      conf/nginx/singlesite/basic.conf
  2. 1
      conf/nginx/singlesite/fastcgi-cache.conf
  3. 1
      conf/nginx/singlesite/w3-total-cache.conf
  4. 1
      conf/nginx/singlesite/wp-super-cache.conf

1
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;
}
}

1
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;

1
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;
}

1
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;
}

Loading…
Cancel
Save