WordOps / WordOps

Install and manage a high performance WordPress stack with a few keystrokes

Home Page:https://wordops.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please fix issue: Query parameters missing when caching with wpsc

viidev25 opened this issue · comments

Hello,

From this closed issue: #267

It still not fixed in recent release version. It will make Woocommerce break when load report page, also wp-json can not process parameter.

$ more /etc/nginx/common/wpsc-php82.conf

location / {
try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php;
}

==> please change try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php;

to

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;

Hello @viidev25,
thanks for reporting again this issue, I will fix it in the next release.