Skip to content

Commit 5e87207

Browse files
committed
Moved alt-svc headers to ssl config
1 parent 7b9a88b commit 5e87207

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nginx-conf/nginx.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ quic_retry on;
77
quic_gso on;
88
ssl_early_data on;
99

10-
add_header Alt-Svc 'h3=":443"; ma=86400' always;
11-
add_header QUIC-Status $http3;
12-
add_header x-quic 'h3';
13-
1410

1511
# Trust the Docker bridge gateway as a proxy
1612
set_real_ip_from 172.18.0.0/16;

nginx-conf/options/options-ssl-nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
add_header Strict-Transport-Security "max-age=31536000" always;
22
add_header Content-Security-Policy "img-src https: data:; upgrade-insecure-requests";
33

4+
add_header Alt-Svc 'h3=":443"; ma=86400' always;
5+
add_header QUIC-Status $http3;
6+
add_header x-quic 'h3';
7+
48
ssl_session_cache shared:le_nginx_SSL:10m;
59
ssl_session_timeout 1440m;
610
ssl_session_tickets off;

0 commit comments

Comments
 (0)