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

Nginx 1.25.0 mainline version has been released, featuring experimental HTTP/3 support.

How to test with Webinoly:

  • Install Webinoly using the "clean" option: wget -qO weby qrok.es/wy && sudo bash weby -clean
  • Set the Nginx "mainline" branch in the Webinoly configuration file: sudo nano /opt/webinoly/webinoly.conf
  • Install Nginx and LEMP: sudo stack -lemp
  • Create a new site: sudo site example.com -wp
  • Add an SSL cert to your site: sudo site example.com -ssl=on
  • Add a new listen directive with the quic parameter:
sudo nano /etc/nginx/sites-available/example.com

# Include QUIC support:
listen 443 ssl http2;
listen 443 quic reuseport; # QUIC
listen [::]:443 ssl http2;

  • Add a response header telling the browser that an upgrade to QUIC is available.
# Add a custom http header to Webinoly
sudo nano /opt/webinoly/templates/source/custom_header_https_webinoly.data

# Include this two lines:
add_header Alt-Svc 'h3=":$server_port"; ma=86400';
add_header X-protocol $server_protocol always;

# Reload the HTTP headers in Webinoly to changes take effect:
sudo webinoly -custom-headers=reload

And that it! Easy, right?

References: https://www.nginx.com/blog/binary-packages-for-preview-nginx-quic-http3-implementation/

closed with the note: Done!

1 Answer

0 votes
by Expert

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.

...