If you know about NGINX and servers, Webinoly is for you!
0 votes
17 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!

ago by Rookie
Can anyone help me about this integration?

Please log in or register to answer this question.

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.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations GitHub Sponsors

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

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

...