Skip to content

Commit ef8ad37

Browse files
authored
Bump nginx to v1.21.1 (#23)
1 parent 19a885a commit ef8ad37

File tree

3 files changed

+8
-255
lines changed

3 files changed

+8
-255
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM alpine:3.12 AS build
22

3-
ENV NGINX_VERSION 1.21.0
3+
ENV NGINX_VERSION 1.21.1
44
# https://github.com/nginx/njs
5-
ENV NJS_MODULE_VERSION 0.5.3
5+
ENV NJS_MODULE_VERSION 0.6.1
66
# https://github.com/openresty/echo-nginx-module
77
ENV ECHO_MODULE_VERSION v0.62
88
# https://github.com/openresty/headers-more-nginx-module
@@ -31,7 +31,7 @@ ENV JAEGER_CLIENT_VERSION v0.7.0
3131
# https://github.com/opentracing/opentracing-cpp
3232
ENV OPENTRACING_LIB_VERSION v1.6.0
3333
# https://github.com/opentracing-contrib/nginx-opentracing
34-
ENV OPENTRACING_MODULE_VERSION v0.16.0
34+
ENV OPENTRACING_MODULE_VERSION v0.19.0
3535

3636
COPY *.patch /tmp/
3737
RUN set -eux \
@@ -144,9 +144,8 @@ RUN set -eux \
144144
&& git clone --depth=1 https://github.com/2Fast2BCn/nginx_upstream_check_module.git \
145145
&& (cd nginx_upstream_check_module; \
146146
patch -p1 < /tmp/nginx_upstream_check_module-only-worker-proccess.patch; \
147-
patch -p1 < /tmp/nginx_upstream_check_module-check_1.16.1+.patch \
148147
) \
149-
&& patch -p1 < /usr/src/nginx-${NGINX_VERSION}/nginx_upstream_check_module/check_1.16.1+.patch \
148+
&& patch -p1 < /usr/src/nginx-${NGINX_VERSION}/nginx_upstream_check_module/check_1.18.0.patch \
150149
\
151150
# Brotli
152151
&& git clone --depth=1 https://github.com/google/ngx_brotli.git \
@@ -158,8 +157,9 @@ RUN set -eux \
158157
&& tar -zxC /usr/src/nginx-${NGINX_VERSION}/ngx_http_redis -f ngx_http_redis.tar.gz --strip 1 \
159158
\
160159
# A forward proxy module for CONNECT request handling
161-
&& git clone --depth=1 https://github.com/chobits/ngx_http_proxy_connect_module.git \
162-
&& patch -p1 < ngx_http_proxy_connect_module/patch/proxy_connect_rewrite_1018.patch \
160+
# && git clone --depth=1 https://github.com/chobits/ngx_http_proxy_connect_module.git \
161+
&& git clone --depth=1 --single-branch -b p102101 https://github.com/levonet/ngx_http_proxy_connect_module.git \
162+
&& patch -p1 < ngx_http_proxy_connect_module/patch/proxy_connect_rewrite_102101.patch \
163163
\
164164
# Sync upstreams from consul or others
165165
&& git clone --depth=1 --single-branch -b ${UPSYNC_MODULE_VERSION} https://github.com/weibocom/nginx-upsync-module.git \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Supported tags and respective `Dockerfile` links
22

33
- [`latest` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/master/Dockerfile)
4-
- [`1.21.0-alpine`, `1.21-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.21.0/Dockerfile) Mainline version
4+
- [`1.21.1-alpine`, `1.21-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.21.1/Dockerfile) Mainline version
55
- [`1.20.1-alpine`, `1.20-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.20.1/Dockerfile) Stable version
66
- <details><summary>Older versions</summary>
77

nginx_upstream_check_module-check_1.16.1+.patch

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)