Skip to content

Commit e74a9c5

Browse files
committed
Fixed Alt-Svc header to conform to current documentation.
1 parent c62a380 commit e74a9c5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ http {
3131

3232
http3_hq on;
3333

34-
add_header Alt-Svc 'hq-29=":443"';
34+
add_header Alt-Svc 'h3=":443"; ma=86400';
3535
location / {
3636
root /www;
3737
}

nginx.conf.http3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ http {
2828
listen *:443 quic reuseport;
2929
listen [::]:443 ssl;
3030
listen [::]:443 quic reuseport;
31-
add_header Alt-Svc 'h3-29=":443"';
31+
add_header Alt-Svc 'h3=":443"; ma=86400';
3232
location / {
3333
root /www;
3434
}

nginx.conf.nodebug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ http {
3131

3232
http3_hq on;
3333

34-
add_header Alt-Svc 'hq-29=":443"';
34+
add_header Alt-Svc 'h3=":443"; ma=86400';
3535
location / {
3636
root /www;
3737
}

nginx.conf.retry

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ http {
3131

3232
http3_hq on;
3333

34-
add_header Alt-Svc 'hq-29=":443"';
34+
add_header Alt-Svc 'h3=":443"; ma=86400';
3535
location / {
3636
root /www;
3737
}

0 commit comments

Comments
 (0)