Add support for HTTP/3

This commit is contained in:
Léo Colombaro 2023-05-24 22:58:05 +02:00
parent 87ce42fdcd
commit a20dcec401
4 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,8 @@
# returning 444 "No Response".
server {
listen [::]:443 quic reuseport;
listen 443 quic reuseport;
listen [::]:443 ssl http2 default_server;
listen 443 ssl http2 default_server;

View File

@ -10,6 +10,8 @@
# the right one.
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#server-name-if
server {
listen [::]:443 quic reuseport;
listen 443 quic reuseport;
listen [::]:443 ssl http2;
listen 443 ssl http2;
@ -24,6 +26,8 @@ server {
server {
listen [::]:443 quic reuseport;
listen 443 quic reuseport;
# listen [::]:443 ssl http2 accept_filter=dataready; # for FreeBSD
# listen 443 ssl http2 accept_filter=dataready; # for FreeBSD
listen [::]:443 ssl http2;

View File

@ -9,6 +9,8 @@ server {
server {
listen [::]:443 quic reuseport;
listen 443 quic reuseport;
listen [::]:443 ssl http2 default_server;
listen 443 ssl http2 default_server;

View File

@ -1,4 +1,6 @@
server {
listen [::]:443 quic reuseport;
listen 443 quic reuseport;
listen [::]:443 ssl http2;
listen 443 ssl http2;
@ -12,6 +14,8 @@ server {
}
server {
listen [::]:443 quic reuseport;
listen 443 quic reuseport;
listen [::]:443 ssl http2;
listen 443 ssl http2;