[Plugin: W3 Total Cache] Minify URL rewriting not working on nginx
-
Hi,
I have setup a WordPress installation with W3 Total Cache on a nginx server. I am using the minify option with Opcode APC and automatic mode. I am receiving the following error after activating this option:
It appears Minify URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.
In nginx.conf I have what the plugin suggested me to put, namely this:
# BEGIN W3TC Minify core rewrite ^/usr/share/nginx/html/wp-content/w3tc/min/w3tc_rewrite_test$ /usr/share/nginx/html/wp/wp-content/w3tc/min/index.php?w3tc_rewrite_test=1 last; rewrite ^/usr/share/nginx/html/wp-content/w3tc/min/(.+\.(css|js))$ /usr/share/nginx/html/wp/wp-content/w3tc/min/index.php?file=$1 last; # END W3TC Minify core
If I disable the URL rewriting for minify, the request returns a 400 status.
Any idea what I may be doing wrong?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: W3 Total Cache] Minify URL rewriting not working on nginx’ is closed to new replies.