WP-Rocket plugin support with the flag --wprocket
What does this do exactly?
We added custom Nginx configuration for WP-Rocket plugin. But as a paid plugin we cannot install it automatically.
So if I have an existing install it will now be gzip? How do I change this setting?
Yes, you will find a file gzip.conf
and brotli.conf.disabled
in /etc/nginx/conf.d
, you can enable/disable just by adding/removing .disabled
at the end of their name.
# enabling brotli
mv /etc/nginx/conf.d/brotli.conf.disabled /etc/nginx/conf.d/brotli.conf
wo stack restart --nginx
# disabling gzip
mv /etc/nginx/conf.d/gzip.conf /etc/nginx/conf.d/gzip.conf.disabled
wo stack restart --nginx
This config will not be overwritted during next upgrades. If one of the configuration with/without .disabled
is found, WordOps will not create the other one.