Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
4.2k views
by Expert
closed by

In case you're getting a warning message after the latest Nginx stable update v1.24.0.

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

You can manually fix it easily, just add the "http2" parameter in the "listen" (443 only) directive on this file /etc/nginx/sites-enabled/default.

listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;

And that's it!

Obviously, it will be fixed in the next Webinoly release v1.17.3.

closed with the note: Done!

1 Answer

+1 vote
by Expert
 
Best answer
Solution is already included in the question for community interest.
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.

...