From bfc898c2d8d522251e0fa953d931007be6fd9003 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 2c91d0b3..ad6752ac 100644 --- a/core/nginx/Dockerfile +++ b/core/nginx/Dockerfile @@ -5,6 +5,4 @@ RUN apk add --no-cache nginx nginx-mod-mail python py-jinja2 certbot openssl 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 fbc11dad..e1639256 100644 --- a/core/nginx/conf/tls.conf +++ b/core/nginx/conf/tls.conf @@ -5,4 +5,4 @@ ssl_session_timeout 10m; ssl_session_tickets off; ssl_certificate {{ TLS[0] }}; ssl_certificate_key {{ TLS[1] }}; -ssl_dhparam /certs/dhparam.pem; +ssl_dhparam /conf/dhparam.pem;