Browse Source

Fix php location block

old-stable
Mitesh Shah 11 years ago
parent
commit
5dca6926f3
  1. 2
      usr/share/easyengine/nginx/wp/w3tc.conf
  2. 2
      usr/share/easyengine/nginx/wp/wpfc.conf
  3. 2
      usr/share/easyengine/nginx/wp/wpsc.conf
  4. 2
      usr/share/easyengine/nginx/wpsubdir/w3tc.conf
  5. 2
      usr/share/easyengine/nginx/wpsubdir/wpfc.conf
  6. 2
      usr/share/easyengine/nginx/wpsubdir/wpsc.conf
  7. 2
      usr/share/easyengine/nginx/wpsubdomain/w3tc.conf
  8. 2
      usr/share/easyengine/nginx/wpsubdomain/wpfc.conf
  9. 2
      usr/share/easyengine/nginx/wpsubdomain/wpsc.conf

2
usr/share/easyengine/nginx/wp/w3tc.conf

@ -39,7 +39,7 @@ server {
try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1; try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wp/wpfc.conf

@ -39,7 +39,7 @@ server {
try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1; try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wp/wpsc.conf

@ -35,7 +35,7 @@ server {
try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php; try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wpsubdir/w3tc.conf

@ -53,7 +53,7 @@ server {
try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args; try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wpsubdir/wpfc.conf

@ -53,7 +53,7 @@ server {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wpsubdir/wpsc.conf

@ -53,7 +53,7 @@ server {
try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?$args; try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?$args;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wpsubdomain/w3tc.conf

@ -41,7 +41,7 @@ server {
try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args; try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wpsubdomain/wpfc.conf

@ -41,7 +41,7 @@ server {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

2
usr/share/easyengine/nginx/wpsubdomain/wpsc.conf

@ -41,7 +41,7 @@ server {
try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?$args; try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?$args;
} }
location ~ .php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
include fastcgi_params; include fastcgi_params;
fastcgi_pass php; fastcgi_pass php;

Loading…
Cancel
Save