File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM alpine:3.11
2
2
3
3
LABEL maintainer=
"NGINX Docker Maintainers <[email protected] >"
4
4
5
- ENV NGINX_VERSION 1.17.9
5
+ ENV NGINX_VERSION 1.17.10
6
6
ENV NGX_BROTLI_COMMIT e505dce68acc190cc5a1e780a3b0275e39f160ca
7
7
8
8
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
@@ -151,6 +151,7 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
151
151
152
152
COPY nginx.conf /etc/nginx/nginx.conf
153
153
COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf
154
+ COPY ssl_common.conf /etc/nginx/conf.d/ssl_common.conf
154
155
155
156
EXPOSE 80 443
156
157
Original file line number Diff line number Diff line change
1
+ # Grade A+ SSL support
2
+ # https://ssl-config.mozilla.org/#server=nginx&version=1.17.9&config=intermediate&openssl=1.1.1d&guideline=5.4
3
+ ssl_session_timeout 1d;
4
+ ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
5
+ ssl_session_tickets off;
6
+
7
+ # curl https://ssl-config.mozilla.org/ffdhe2048.txt > /path/to/dhparam.pem
8
+ ssl_dhparam /etc/ssl/dhparam.pem;
9
+
10
+ # intermediate configuration
11
+ ssl_protocols TLSv1.2 TLSv1.3;
12
+ ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
13
+ ssl_prefer_server_ciphers off;
14
+
15
+ # OCSP stapling
16
+ ssl_stapling on;
17
+ ssl_stapling_verify on;
You can’t perform that action at this time.
0 commit comments