From 5dca6926f3c65b9e9753ce9bf9dec8c1980070e4 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 25 Nov 2013 17:37:54 +0530 Subject: [PATCH] Fix php location block --- usr/share/easyengine/nginx/wp/w3tc.conf | 2 +- usr/share/easyengine/nginx/wp/wpfc.conf | 2 +- usr/share/easyengine/nginx/wp/wpsc.conf | 2 +- usr/share/easyengine/nginx/wpsubdir/w3tc.conf | 2 +- usr/share/easyengine/nginx/wpsubdir/wpfc.conf | 2 +- usr/share/easyengine/nginx/wpsubdir/wpsc.conf | 2 +- usr/share/easyengine/nginx/wpsubdomain/w3tc.conf | 2 +- usr/share/easyengine/nginx/wpsubdomain/wpfc.conf | 2 +- usr/share/easyengine/nginx/wpsubdomain/wpsc.conf | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/usr/share/easyengine/nginx/wp/w3tc.conf b/usr/share/easyengine/nginx/wp/w3tc.conf index 272619d3..732d70d4 100644 --- a/usr/share/easyengine/nginx/wp/w3tc.conf +++ b/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; } - location ~ .php$ { + location ~ \.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 2fafaf5d..4c1fc86b 100644 --- a/usr/share/easyengine/nginx/wp/wpfc.conf +++ b/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; } - location ~ .php$ { + location ~ \.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 6c995cd6..8e89602e 100644 --- a/usr/share/easyengine/nginx/wp/wpsc.conf +++ b/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; } - location ~ .php$ { + location ~ \.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 88414db4..33fed85b 100644 --- a/usr/share/easyengine/nginx/wpsubdir/w3tc.conf +++ b/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; } - location ~ .php$ { + location ~ \.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 43f04001..2ce6519b 100644 --- a/usr/share/easyengine/nginx/wpsubdir/wpfc.conf +++ b/usr/share/easyengine/nginx/wpsubdir/wpfc.conf @@ -53,7 +53,7 @@ server { try_files $uri $uri/ /index.php?$args; } - location ~ .php$ { + location ~ \.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 ec6bcb41..fe6607ff 100644 --- a/usr/share/easyengine/nginx/wpsubdir/wpsc.conf +++ b/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; } - location ~ .php$ { + location ~ \.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 0599286a..c7f9d566 100644 --- a/usr/share/easyengine/nginx/wpsubdomain/w3tc.conf +++ b/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; } - location ~ .php$ { + location ~ \.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 f3537d56..ef5b8890 100644 --- a/usr/share/easyengine/nginx/wpsubdomain/wpfc.conf +++ b/usr/share/easyengine/nginx/wpsubdomain/wpfc.conf @@ -41,7 +41,7 @@ server { try_files $uri $uri/ /index.php?$args; } - location ~ .php$ { + location ~ \.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 adbd68c3..9830d12c 100644 --- a/usr/share/easyengine/nginx/wpsubdomain/wpsc.conf +++ b/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; } - location ~ .php$ { + location ~ \.php$ { try_files $uri =404; include fastcgi_params; fastcgi_pass php;