Skip to content

Commit f1779b7

Browse files
authored
Merge pull request #34 from macbre/http3-support
Add more h3 versions in alt-svc header
2 parents 2fc5e88 + 24fc3b5 commit f1779b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/dockerimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
6060
grep --fixed-strings '< HTTP/3 200' /tmp/h3
6161
grep --fixed-strings '< server: nginx' /tmp/h3
62-
grep --fixed-strings '< alt-svc: h3=":8889"; ma=86400' /tmp/h3
62+
grep --fixed-strings '< alt-svc: h3-27=":8889"; ma=86400, h3-28=":8889"; ma=86400, h3-29=":8889"; ma=86400' /tmp/h3
6363
grep --fixed-strings '<p>It works!</p>' /tmp/h3
6464
6565
docker logs test_nginx

tests/https.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ server {
1919
ssl_early_data on;
2020

2121
# Add Alt-Svc header to negotiate HTTP/3.
22-
add_header alt-svc 'h3=":8889"; ma=86400';
22+
add_header alt-svc 'h3-27=":8889"; ma=86400, h3-28=":8889"; ma=86400, h3-29=":8889"; ma=86400';
2323

2424
location / {
2525
root /static;

0 commit comments

Comments
 (0)