Skip to content

Commit 85402f4

Browse files
authored
Merge pull request #77 from macbre/nginx-1.21.7
nginx 1.23.1
2 parents b82e209 + e644641 commit 85402f4

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/dockerimage.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,14 @@ jobs:
7979
8080
8181
docker run --rm --network host ghcr.io/macbre/curl-http3 \
82-
curl -v --insecure https://localhost:8889 --http3 2>&1 | tee /tmp/h3
82+
curl -v --insecure https://localhost:8889 --http3 --max-time 5 2>&1 | tee /tmp/h3
8383
8484
grep --fixed-strings '< HTTP/3 200' /tmp/h3
8585
grep --fixed-strings --invert-match -i '< server: nginx' /tmp/h3 > /dev/null
8686
grep --fixed-strings '< alt-svc: h3-27=":8889"; ma=86400, h3-28=":8889"; ma=86400, h3-29=":8889"; ma=86400' /tmp/h3
8787
grep --fixed-strings '< quic-status: h3' /tmp/h3
8888
grep --fixed-strings '<p>It works!</p>' /tmp/h3
8989
90-
docker logs test_nginx
90+
- name: Show logs
91+
if: always()
92+
run: docker logs test_nginx

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
# https://hg.nginx.org/nginx-quic/file/tip/src/core/nginx.h
2-
ARG NGINX_VERSION=1.21.6
1+
# https://hg.nginx.org/nginx-quic/fie/tip/src/core/nginx.h
2+
ARG NGINX_VERSION=1.23.1
33

44
# https://hg.nginx.org/nginx-quic/shortlog/quic
5-
ARG NGINX_COMMIT=7c2adf237091
5+
ARG NGINX_COMMIT=3550b00d9dc8
66

77
# https://github.com/google/ngx_brotli
88
ARG NGX_BROTLI_COMMIT=9aec15e2aa6feea2113119ba06460af70ab3ea62
99

1010
# https://github.com/google/boringssl
11-
ARG BORINGSSL_COMMIT=123eaaef26abc278f53ae338e9c758eb01c70b08
11+
ARG BORINGSSL_COMMIT=8ce0e1c14e48109773f1e94e5f8b020aa1e24dc5
1212

1313
# https://github.com/openresty/headers-more-nginx-module#installation
14-
ARG HEADERS_MORE_VERSION=0.33
14+
# we want to have https://github.com/openresty/headers-more-nginx-module/commit/e536bc595d8b490dbc9cf5999ec48fca3f488632
15+
ARG HEADERS_MORE_VERSION=0.34
1516

1617
# https://hg.nginx.org/nginx-quic/file/quic/README#l72
1718
ARG CONFIG="\
@@ -76,7 +77,7 @@ ARG HEADERS_MORE_VERSION
7677
ARG CONFIG
7778

7879
# https://github.com/leev/ngx_http_geoip2_module/releases
79-
ARG GEOIP2_VERSION=3.3
80+
ARG GEOIP2_VERSION=3.4
8081

8182
RUN \
8283
apk add --no-cache --virtual .build-deps \

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ docker pull ghcr.io/macbre/nginx-http3:latest
2727

2828
```
2929
$ docker run -it macbre/nginx-http3 nginx -V
30-
nginx version: nginx/1.21.6 (quic-7c2adf237091-boringssl-123eaaef26abc278f53ae338e9c758eb01c70b08)
30+
nginx version: nginx/1.23.1 (quic-3550b00d9dc8-boringssl-8ce0e1c14e48109773f1e94e5f8b020aa1e24dc5)
3131
built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424)
3232
built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)
3333
TLS SNI support enabled
3434
configure arguments:
35-
--build=quic-7c2adf237091-boringssl-123eaaef26abc278f53ae338e9c758eb01c70b08
35+
--build=quic-3550b00d9dc8-boringssl-8ce0e1c14e48109773f1e94e5f8b020aa1e24dc5
3636
--prefix=/etc/nginx
3737
--sbin-path=/usr/sbin/nginx
3838
--modules-path=/usr/lib/nginx/modules
@@ -79,7 +79,7 @@ configure arguments:
7979
--with-http_v2_module
8080
--with-http_v3_module
8181
--add-module=/usr/src/ngx_brotli
82-
--add-module=/usr/src/headers-more-nginx-module-0.33
82+
--add-module=/usr/src/headers-more-nginx-module-0.34
8383
--add-dynamic-module=/ngx_http_geoip2_module
8484
--with-cc-opt=-I../boringssl/include
8585
--with-ld-opt='-L../boringssl/build/ssl -L../boringssl/build/crypto'

0 commit comments

Comments
 (0)