Browse Source

Change try_files /index.php; to try_files =404;

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

2
usr/share/easyengine/nginx/php/basic.conf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save