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;