This may have been addressed somewhere but I couldn't find it and my PHP is lacking.
With W3 Total Cache's
wp-content/w3tc/min/index.php what arguments does index.php expect? I'm asking because I want to get that working with NGINX.
For example if I want to minify some CSS and I add them to the default group, in NGINX I can rewrite
rewrite ^/wp-content/w3tc/min/default.include.css$ /wp-content/w3tc/min/index.php?gg=default&g=include&t=css last;
Which almost works. I do get the minified CSS output but the page eventually times out instead of just completing. It's like the webserver thinks there is more to send.
I'm pretty sure I'm misinterpreting the
/wp-content/w3tc/min/.htaccess rewrite rule and missing an argument. Naturally this works flawlessly in Apache2.
# BEGIN W3TC Minify <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^([a-z0-9\-_]+)\.(include(-footer)?(-nb)?)\.(css|js)$ index.php?gg=$1&g=$2&t=$5 [L] </IfModule> # END W3TC Minify
Any help would be appreciated.