File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8383 grep --fixed-strings '< HTTP/3 200' /tmp/h3
8484 grep --fixed-strings --invert-match -i '< server: nginx' /tmp/h3 > /dev/null
8585 grep --fixed-strings '< alt-svc: h3-27=":8889"; ma=86400, h3-28=":8889"; ma=86400, h3-29=":8889"; ma=86400' /tmp/h3
86- grep --fixed-strings '< quic-status: quic ' /tmp/h3
86+ grep --fixed-strings '< quic-status: h3 ' /tmp/h3
8787 grep --fixed-strings '<p>It works!</p>' /tmp/h3
8888
8989 docker logs test_nginx
Original file line number Diff line number Diff line change 11# https://hg.nginx.org/nginx-quic/file/tip/src/core/nginx.h
2- ARG NGINX_VERSION=1.21.4
2+ ARG NGINX_VERSION=1.21.5
33
44# https://hg.nginx.org/nginx-quic/shortlog/quic
5- ARG NGINX_COMMIT=d041b8d6ab0b
5+ ARG NGINX_COMMIT=de7d36aa9bc7
66
77# https://github.com/google/ngx_brotli
88ARG NGX_BROTLI_COMMIT=9aec15e2aa6feea2113119ba06460af70ab3ea62
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ docker pull ghcr.io/macbre/nginx-http3:latest
2121
2222```
2323$ docker run -it macbre/nginx-http3 nginx -V
24- nginx version: nginx/1.21.4 (quic-d041b8d6ab0b -boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd)
24+ nginx version: nginx/1.21.5 (quic-de7d36aa9bc7 -boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd)
2525built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424)
2626built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)
2727TLS SNI support enabled
2828configure arguments:
29- --build=quic-d041b8d6ab0b -boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd
29+ --build=quic-de7d36aa9bc7 -boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd
3030 --prefix=/etc/nginx
3131 --sbin-path=/usr/sbin/nginx
3232 --modules-path=/usr/lib/nginx/modules
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ server {
2121
2222 # Add Alt-Svc header to negotiate HTTP/3.
2323 add_header alt-svc 'h3-27=":8889"; ma=86400, h3-28=":8889"; ma=86400, h3-29=":8889"; ma=86400';
24- add_header QUIC-Status $quic ; # Sent when QUIC was used
24+ add_header QUIC-Status $http3 ; # Sent when QUIC was used
2525
2626 location / {
2727 root /static;
You can’t perform that action at this time.
0 commit comments