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;