From 8c7138d69bca282bfae14e3ab3ef6b8469a8a65b Mon Sep 17 00:00:00 2001 From: kaiyou Date: Sun, 17 Dec 2017 14:46:20 +0100 Subject: [PATCH] Move dhparam to /conf --- core/nginx/Dockerfile | 2 -- core/nginx/{ => conf}/dhparam.pem | 0 core/nginx/conf/tls.conf | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) rename core/nginx/{ => conf}/dhparam.pem (100%) diff --git a/core/nginx/Dockerfile b/core/nginx/Dockerfile index 70a7df4..5b0040a 100644 --- a/core/nginx/Dockerfile +++ b/core/nginx/Dockerfile @@ -8,6 +8,4 @@ RUN pip install "idna<2.7" COPY conf /conf COPY *.py / -COPY dhparam.pem /certs/dhparam.pem - CMD /start.py diff --git a/core/nginx/dhparam.pem b/core/nginx/conf/dhparam.pem similarity index 100% rename from core/nginx/dhparam.pem rename to core/nginx/conf/dhparam.pem diff --git a/core/nginx/conf/tls.conf b/core/nginx/conf/tls.conf index 200c5e9..8ad1a27 100644 --- a/core/nginx/conf/tls.conf +++ b/core/nginx/conf/tls.conf @@ -4,4 +4,4 @@ ssl_prefer_server_ciphers on; ssl_session_timeout 10m; ssl_certificate {{ TLS[0] }}; ssl_certificate_key {{ TLS[1] }}; -ssl_dhparam /certs/dhparam.pem; +ssl_dhparam /conf/dhparam.pem;