Hello Webinoly community,
My website is using Webinoly & WP-Rocket cache and I want to serve the generated cache files directly from Nginx with the help of this tool:
https://github.com/SatelliteWP/rocket-nginx
On the #installation section, it says:
Then, in your configuration file, you must include the configuration. If your websites configurations are in /etc/nginx/sites-available
, you need to alter your configuration:
server {
...
# Rocket-Nginx configuration
include rocket-nginx/default.conf;
...
}
Is it safe for me to include the `default.conf` under the /sites-available/mywebsite.com, on # WebinolyNginxServerStart server block?
server {
...
# Rocket-Nginx configuration <-- added config
include rocket-nginx/default.conf;
# WebinolyCustom
# WebinolyCustomEnd
include common/php.conf;
include common/wpcommon-noauth.conf;
include common/locations.conf;
include common/headers-http.conf;
include common/headers-https.conf;
include common/headers-html.conf;
include /var/www/uptavern.com/*-nginx.conf;
...
}
Thanks QROKes and Webinoly!