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

Hi!

After updating Webinoly to its latest version I got an nginx failure and now all my sites are down. 

The command: 'sudo nginx -T' returns the following:
nginx: [warn] protocol options redefined for 0.0.0.0:443 in /etc/nginx/sites-enabled/default:3
nginx: [warn] protocol options redefined for [::]:443 in /etc/nginx/sites-enabled/default:4
nginx: [warn] protocol options redefined for 0.0.0.0:443 in /etc/nginx/sites-enabled/one-of-my-sites:12
nginx: [warn] protocol options redefined for [::]:443 in /etc/nginx/sites-enabled/one-of-my-sites:13
nginx: [emerg] duplicate location "/robots.txt" in /etc/nginx/common/wpcommon.conf:47
nginx: configuration file /etc/nginx/nginx.conf test failed

All the server updates have been applied, and the server's PHP is 7.4

Update: 
I found a temporary solution by commenting all the content inside of the /etc/nginx/common/wpcommon.conf and my sites are restored for now. 

Thank you,

Thanasis

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.
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.

...