Skip to content

Commit

Permalink
Merge pull request #73 from macbre/nginx-1.21.5
Browse files Browse the repository at this point in the history
nginx 1.21.5
  • Loading branch information
macbre authored Feb 2, 2022
2 parents f834920 + b6a1abb commit 44a90b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
grep --fixed-strings '< HTTP/3 200' /tmp/h3
grep --fixed-strings --invert-match -i '< server: nginx' /tmp/h3 > /dev/null
grep --fixed-strings '< alt-svc: h3-27=":8889"; ma=86400, h3-28=":8889"; ma=86400, h3-29=":8889"; ma=86400' /tmp/h3
grep --fixed-strings '< quic-status: quic' /tmp/h3
grep --fixed-strings '< quic-status: h3' /tmp/h3
grep --fixed-strings '<p>It works!</p>' /tmp/h3
docker logs test_nginx
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# https://hg.nginx.org/nginx-quic/file/tip/src/core/nginx.h
ARG NGINX_VERSION=1.21.4
ARG NGINX_VERSION=1.21.5

# https://hg.nginx.org/nginx-quic/shortlog/quic
ARG NGINX_COMMIT=d041b8d6ab0b
ARG NGINX_COMMIT=de7d36aa9bc7

# https://github.com/google/ngx_brotli
ARG NGX_BROTLI_COMMIT=9aec15e2aa6feea2113119ba06460af70ab3ea62
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ docker pull ghcr.io/macbre/nginx-http3:latest

```
$ docker run -it macbre/nginx-http3 nginx -V
nginx version: nginx/1.21.4 (quic-d041b8d6ab0b-boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd)
nginx version: nginx/1.21.5 (quic-de7d36aa9bc7-boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd)
built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424)
built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)
TLS SNI support enabled
configure arguments:
--build=quic-d041b8d6ab0b-boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd
--build=quic-de7d36aa9bc7-boringssl-b3ed071ecc4efb77afd0a025ea1078da19578bfd
--prefix=/etc/nginx
--sbin-path=/usr/sbin/nginx
--modules-path=/usr/lib/nginx/modules
Expand Down
2 changes: 1 addition & 1 deletion tests/https.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {

# Add Alt-Svc header to negotiate HTTP/3.
add_header alt-svc 'h3-27=":8889"; ma=86400, h3-28=":8889"; ma=86400, h3-29=":8889"; ma=86400';
add_header QUIC-Status $quic; # Sent when QUIC was used
add_header QUIC-Status $http3; # Sent when QUIC was used

location / {
root /static;
Expand Down

0 comments on commit 44a90b2

Please sign in to comment.