Major bug in NGINX configuration code leads to 404 on all pages
-
We use W3TC on our site. After update to 0.9.2.8 and NGINX config reload we faced major bug: every page returned 404 error.
Here are original lines to disable static file rewrite for missed files:
if (-f “$document_root/wp-content/cache/page_enhanced/$http_host/$request_uri/_index.html$w3tc_enc”) {
set $w3tc_rewrite 0;
}Here are my fixed lines:
if (-f “$document_root/wp-content/cache/page_enhanced/$http_host/$request_uri/_index.html$w3tc_enc”) {
set $w3tc_rewrite 0;
}Please implenment in bugfixed version.
Thank you for a great plugin!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Major bug in NGINX configuration code leads to 404 on all pages’ is closed to new replies.