Merge pull request #654 from WordOps/updating-configuration
Fix wpsc template
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
location / {
|
location / {
|
||||||
# If we add index.php?$args its break WooCommerce like plugins
|
# If we add index.php?$args its break WooCommerce like plugins
|
||||||
# Ref: #330
|
# Ref: #330
|
||||||
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${mobile_prefix}${https_prefix}.html /wp-content/cache/supercache/$http_host/$cache_uri/index${https_prefix}.html $uri $uri/ /index.php$is_args$args;
|
||||||
}
|
}
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
|
|||||||
Reference in New Issue
Block a user