From 1fbc5fc301ec43b3811318c70ba1c2ccf0881562 Mon Sep 17 00:00:00 2001 From: RenzoF Date: Thu, 5 Jun 2014 21:09:32 +0100 Subject: [PATCH 1/2] Update to 22222 (tools) Added check to use acl.conf file for php files issue #259 --- usr/share/easyengine/nginx/22222 | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/share/easyengine/nginx/22222 b/usr/share/easyengine/nginx/22222 index ce9764c5e..855be0150 100644 --- a/usr/share/easyengine/nginx/22222 +++ b/usr/share/easyengine/nginx/22222 @@ -32,6 +32,7 @@ server { } location ~ \.php$ { + include common/acl.conf; try_files $uri =404; include fastcgi_params; fastcgi_pass php; From ef2edafee0220cb4f61761d5a6f73346a7033d2a Mon Sep 17 00:00:00 2001 From: RenzoF Date: Thu, 5 Jun 2014 21:25:56 +0100 Subject: [PATCH 2/2] Update wpsc.conf WooCommerce add to cart breaks if the args are ignored so appending args to wpsc.conf file --- usr/share/easyengine/nginx/wp/wpsc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/easyengine/nginx/wp/wpsc.conf b/usr/share/easyengine/nginx/wp/wpsc.conf index 41ea856fe..30736e6be 100644 --- a/usr/share/easyengine/nginx/wp/wpsc.conf +++ b/usr/share/easyengine/nginx/wp/wpsc.conf @@ -32,7 +32,7 @@ server { # Use Cached Or Actual File If They Exists, Otherwise Pass Request To WordPress location / { - 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$args; } location ~ \.php$ {