Browse Source

Removed from wpsc.conf #330

next
gau1991 10 years ago
parent
commit
b31b501233
  1. 4
      config/nginx/common/wpsc.conf

4
config/nginx/common/wpsc.conf

@ -24,7 +24,9 @@ if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_lo
# 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$args;
# If we add index.php?$args its break WooCommerce like plugins
# Ref: #330
try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php;
}
location ~ \.php$ {

Loading…
Cancel
Save