Loading...
server {
listen 443 quic reuseport;
server_name example.com;
}server {
listen 443 ssl;
listen 443 quic reuseport;
add_header Alt-Svc 'h3=":443"; ma=86400';
server_name example.com;
}Browsers discover HTTP/3 through Alt-Svc on a TCP response, so the TLS listener must stay and advertise it.
Alt-Svc header or an HTTPS DNS record.The first visit uses TCP, and the browser switches only after it sees Alt-Svc. If UDP is blocked on the network, it keeps using HTTP/2.
No, the biggest gains are on lossy or changing mobile networks. On stable, fast connections the difference is often small.