Create and use ssl dhparam file if not mounted, NGINX_SSL_DHPARAM_BITS variable in .env.dist file

This commit is contained in:
Andreas Faerber
2017-02-25 09:53:53 +01:00
parent fe0b292d45
commit 7e469459c7
3 changed files with 6 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ http {
ssl_session_cache shared:SSL:50m;
ssl_certificate /certs/cert.pem;
ssl_certificate_key /certs/key.pem;
ssl_dhparam /etc/nginx/dhparam.pem;
add_header Strict-Transport-Security max-age=15768000;