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