mirror of
https://git.myvelabs.com/lab/nginx.git
synced 2025-12-17 19:46:13 +00:00
Update http_upgrade
This commit is contained in:
parent
9dab35ccb8
commit
151b8d5886
1 changed files with 8 additions and 5 deletions
11
http_upgrade
11
http_upgrade
|
|
@ -15,13 +15,16 @@ http2 on;
|
|||
# http3
|
||||
# Open port 443/udp to use http3
|
||||
# Add reuseport to ONLY ONE virtual host: listen 443 quic reuseport;
|
||||
listen 443 quic;
|
||||
# listen 443 quic;
|
||||
add_header Alt-Svc 'h3=":443"; ma=86400';
|
||||
quic_retry on;
|
||||
quic_gso on;
|
||||
# quic_bpf on;
|
||||
http3_stream_buffer_size 512k;
|
||||
http3 on;
|
||||
|
||||
# Certbot defaults
|
||||
listen 443 ssl;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
# listen 443 ssl;
|
||||
# include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
# ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
add_header Strict-Transport-Security "max-age=31536000" always;
|
||||
Loading…
Add table
Add a link
Reference in a new issue