diff --git a/usr/share/easyengine/nginx/php/basic.conf b/usr/share/easyengine/nginx/php/basic.conf index 0972989d..68efb89c 100644 --- a/usr/share/easyengine/nginx/php/basic.conf +++ b/usr/share/easyengine/nginx/php/basic.conf @@ -14,7 +14,7 @@ server { } location ~ \.php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wp/basic.conf b/usr/share/easyengine/nginx/wp/basic.conf index b022886f..4b152792 100644 --- a/usr/share/easyengine/nginx/wp/basic.conf +++ b/usr/share/easyengine/nginx/wp/basic.conf @@ -14,7 +14,7 @@ server { } location ~ \.php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wp/w3tc.conf b/usr/share/easyengine/nginx/wp/w3tc.conf index 83f977c7..3bbba1f4 100644 --- a/usr/share/easyengine/nginx/wp/w3tc.conf +++ b/usr/share/easyengine/nginx/wp/w3tc.conf @@ -40,7 +40,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wp/wpfc.conf b/usr/share/easyengine/nginx/wp/wpfc.conf index fd836ffc..b5d3dca8 100644 --- a/usr/share/easyengine/nginx/wp/wpfc.conf +++ b/usr/share/easyengine/nginx/wp/wpfc.conf @@ -40,7 +40,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; diff --git a/usr/share/easyengine/nginx/wp/wpsc.conf b/usr/share/easyengine/nginx/wp/wpsc.conf index b419dbfe..5cd6b957 100644 --- a/usr/share/easyengine/nginx/wp/wpsc.conf +++ b/usr/share/easyengine/nginx/wp/wpsc.conf @@ -36,7 +36,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wpsubdir/basic.conf b/usr/share/easyengine/nginx/wpsubdir/basic.conf index 0e33f6ef..d62ecced 100644 --- a/usr/share/easyengine/nginx/wpsubdir/basic.conf +++ b/usr/share/easyengine/nginx/wpsubdir/basic.conf @@ -32,7 +32,7 @@ server { } location ~ \.php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wpsubdir/w3tc.conf b/usr/share/easyengine/nginx/wpsubdir/w3tc.conf index 32668a5e..0827e21e 100644 --- a/usr/share/easyengine/nginx/wpsubdir/w3tc.conf +++ b/usr/share/easyengine/nginx/wpsubdir/w3tc.conf @@ -54,7 +54,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wpsubdir/wpfc.conf b/usr/share/easyengine/nginx/wpsubdir/wpfc.conf index 95d752e9..71650a5b 100644 --- a/usr/share/easyengine/nginx/wpsubdir/wpfc.conf +++ b/usr/share/easyengine/nginx/wpsubdir/wpfc.conf @@ -54,7 +54,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; diff --git a/usr/share/easyengine/nginx/wpsubdir/wpsc.conf b/usr/share/easyengine/nginx/wpsubdir/wpsc.conf index 0f23e0a9..285f42f6 100644 --- a/usr/share/easyengine/nginx/wpsubdir/wpsc.conf +++ b/usr/share/easyengine/nginx/wpsubdir/wpsc.conf @@ -54,7 +54,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wpsubdomain/basic.conf b/usr/share/easyengine/nginx/wpsubdomain/basic.conf index 2bf40611..aa481f44 100644 --- a/usr/share/easyengine/nginx/wpsubdomain/basic.conf +++ b/usr/share/easyengine/nginx/wpsubdomain/basic.conf @@ -20,7 +20,7 @@ server { } location ~ \.php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wpsubdomain/w3tc.conf b/usr/share/easyengine/nginx/wpsubdomain/w3tc.conf index 82dfe5e0..86e62efd 100644 --- a/usr/share/easyengine/nginx/wpsubdomain/w3tc.conf +++ b/usr/share/easyengine/nginx/wpsubdomain/w3tc.conf @@ -42,7 +42,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; } diff --git a/usr/share/easyengine/nginx/wpsubdomain/wpfc.conf b/usr/share/easyengine/nginx/wpsubdomain/wpfc.conf index 28145717..3ab2df72 100644 --- a/usr/share/easyengine/nginx/wpsubdomain/wpfc.conf +++ b/usr/share/easyengine/nginx/wpsubdomain/wpfc.conf @@ -42,7 +42,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php; diff --git a/usr/share/easyengine/nginx/wpsubdomain/wpsc.conf b/usr/share/easyengine/nginx/wpsubdomain/wpsc.conf index 5ae573d9..dfeffd79 100644 --- a/usr/share/easyengine/nginx/wpsubdomain/wpsc.conf +++ b/usr/share/easyengine/nginx/wpsubdomain/wpsc.conf @@ -42,7 +42,7 @@ server { } location ~ .php$ { - try_files $uri /index.php; + try_files $uri =404; include fastcgi_params; fastcgi_pass php;