Skip to content

Commit f86a2c2

Browse files
committed
SSL protocols/ciphers settings are taken from the default server block only.
1 parent afd9c99 commit f86a2c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ RUN \
116116
# Make sure nginx loads the stream module.
117117
sed-patch '/daemon off;/a load_module /usr/lib/nginx/modules/ngx_stream_module.so;' /etc/nginx/nginx.conf && \
118118

119+
# Fix to use correct SSL protocols/ciphers.
120+
sed-patch 's|ssl_ciphers aNULL;|include conf.d/include/ssl-ciphers.conf;|' /etc/nginx/conf.d/default.conf && \
121+
119122
# Redirect `/data' to '/config'.
120123
ln -s /config /data && \
121124

0 commit comments

Comments
 (0)