From 0cebbd1e7c90e1d1b41efbc1b2bb9b6a5bb10e1e Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Wed, 29 May 2024 16:41:48 +0200 Subject: [PATCH] Fix wpsc template --- wo/cli/templates/wpsc.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/cli/templates/wpsc.mustache b/wo/cli/templates/wpsc.mustache index 1394692..d02e8d0 100644 --- a/wo/cli/templates/wpsc.mustache +++ b/wo/cli/templates/wpsc.mustache @@ -6,7 +6,7 @@ location / { # 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; + 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$ { try_files $uri =404;