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; 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$ {