Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
53 views
by Rookie

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!

by Rookie
Can anyone help me about this integration?

1 Answer

0 votes
by Talented
If you feel it is not safe to insert it please make a test site where you are willing to risk it and try everything out there. Once you are confident it works you can implement it on a production site.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...