Add support for HTTP/3
This commit is contained in:
parent
87ce42fdcd
commit
a20dcec401
|
@ -10,6 +10,8 @@
|
||||||
# returning 444 "No Response".
|
# returning 444 "No Response".
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
listen [::]:443 quic reuseport;
|
||||||
|
listen 443 quic reuseport;
|
||||||
listen [::]:443 ssl http2 default_server;
|
listen [::]:443 ssl http2 default_server;
|
||||||
listen 443 ssl http2 default_server;
|
listen 443 ssl http2 default_server;
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
# the right one.
|
# the right one.
|
||||||
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#server-name-if
|
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#server-name-if
|
||||||
server {
|
server {
|
||||||
|
listen [::]:443 quic reuseport;
|
||||||
|
listen 443 quic reuseport;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
|
||||||
|
@ -24,6 +26,8 @@ server {
|
||||||
|
|
||||||
|
|
||||||
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 accept_filter=dataready; # for FreeBSD
|
# listen 443 ssl http2 accept_filter=dataready; # for FreeBSD
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
|
|
|
@ -9,6 +9,8 @@ server {
|
||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
listen [::]:443 quic reuseport;
|
||||||
|
listen 443 quic reuseport;
|
||||||
listen [::]:443 ssl http2 default_server;
|
listen [::]:443 ssl http2 default_server;
|
||||||
listen 443 ssl http2 default_server;
|
listen 443 ssl http2 default_server;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
server {
|
server {
|
||||||
|
listen [::]:443 quic reuseport;
|
||||||
|
listen 443 quic reuseport;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
|
||||||
|
@ -12,6 +14,8 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
listen [::]:443 quic reuseport;
|
||||||
|
listen 443 quic reuseport;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue