Welcome! Log In Create A New Profile

Advanced

Nginx 1.26 enable https2, https3, quic and reuseport

Posted by rrosner 
Nginx 1.26 enable https2, https3, quic and reuseport
June 07, 2024 07:44AM
So, until the update to nginx 1.26 I just used the line listen 443 ssl http2;. The http2 part can be neglected now. But how do I enable support for HTTP3 and QUIC while keeping backwards compatibility? Would it just be listen 443 quic reuseport;? Because setting it to listen 443 ssl quic reuseport; causes errors that ssl and quic aren't compatible with each other. And what else would I need to change to make use of these options, if anything? I've read somewhere there leeds to be at least this in location /:

add_header Alt-Svc 'h3=":443"; ma=86400';
try_files $uri $uri/ /index.php?q=$uri&$args;

If it helps any, I'm on Debian 12.5 and got nginx from their stable Debian repo.



Edited 1 time(s). Last edit at 06/07/2024 07:52AM by rrosner.
Re: Nginx 1.26 enable https2, https3, quic and reuseport
July 10, 2024 05:45PM
Hi Team ,

I insatalled 1.26 and http_v3 module alos enabled .

but http3 protocol not working on my website
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready