Skip to content

Commit 0de4be0

Browse files
committed
Update to Nginx 1.15.12
1 parent 413cba5 commit 0de4be0

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

Dockerfile

+1-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM alpine:3.9
22

33
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
44

5-
ENV NGINX_VERSION 1.15.11
5+
ENV NGINX_VERSION 1.15.12
66

77
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
88
&& CONFIG="\
@@ -68,7 +68,6 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
6868
gd-dev \
6969
geoip-dev \
7070
git \
71-
patch \
7271
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
7372
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
7473
&& curl -fSL https://www.openssl.org/source/openssl-1.1.1b.tar.gz -o openssl-1.1.1b.tar.gz \
@@ -92,10 +91,6 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
9291
&& rm -f nginx.tar.gz \
9392
&& rm -f openssl-1.1.1b.tar.gz \
9493
&& cd /usr/src \
95-
&& git clone https://github.com/hakasenyang/openssl-patch.git \
96-
&& cd openssl-1.1.1b \
97-
&& patch -p1 < ../openssl-patch/openssl-equal-1.1.1b_ciphers.patch \
98-
&& cd /usr/src \
9994
&& git clone https://github.com/google/ngx_brotli.git \
10095
&& cd ngx_brotli \
10196
&& git submodule update --init \
@@ -126,7 +121,6 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
126121
&& rm -rf /usr/src/nginx-$NGINX_VERSION \
127122
&& rm -rf /usr/src/openssl-1.1.1b \
128123
&& rm -rf /usr/src/ngx_brotli \
129-
&& rm -rf /usr/src/openssl-patch \
130124
\
131125
# Bring in gettext so we can get `envsubst`, then throw
132126
# the rest away. To do this, we need to install `gettext`

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Based on [nginxinc/docker-nginx](https://github.com/nginxinc/docker-nginx).
99
To enable TLS 1.3, use:
1010

1111
```nginx
12-
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
12+
ssl_protocols TLSv1.2 TLSv1.3;
1313
ssl_ciphers [TLS13+AESGCM+AES128|TLS13+AESGCM+AES256|TLS13+CHACHA20]:[EECDH+ECDSA+AESGCM+AES128|EECDH+ECDSA+CHACHA20]:EECDH+ECDSA+AESGCM+AES256:EECDH+ECDSA+AES128+SHA:EECDH+ECDSA+AES256+SHA:[EECDH+aRSA+AESGCM+AES128|EECDH+aRSA+CHACHA20]:EECDH+aRSA+AESGCM+AES256:EECDH+aRSA+AES128+SHA:EECDH+aRSA+AES256+SHA:RSA+AES128+SHA:RSA+AES256+SHA:RSA+3DES;
1414
```
1515
To enable Brotli, use this in `http` block:
@@ -24,7 +24,7 @@ brotli_types *;
2424

2525
## Modification Details
2626

27-
Compiled with patched OpenSSL 1.1.1b, supports TLS 1.3 draft 23, 26, 28 and final.
27+
Compiled with OpenSSL 1.1.1b, which supports TLS 1.3.
2828

2929
Module [ngx_brotli](https://github.com/google/ngx_brotli) has been added for Brotli support.
3030

@@ -33,5 +33,5 @@ Module [ngx_brotli](https://github.com/google/ngx_brotli) has been added for Bro
3333
```bash
3434
git clone git://github.com/hackinit/docker-nginx.git
3535
cd docker-nginx
36-
docker build -t nginx:1.15.11-modified .
36+
docker build -t nginx:1.15.12-modified .
3737
```

0 commit comments

Comments
 (0)