summaryrefslogtreecommitdiffstats
path: root/roles/nginx/templates/snippets/ssl-common.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/templates/snippets/ssl-common.conf.j2')
-rw-r--r--roles/nginx/templates/snippets/ssl-common.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/nginx/templates/snippets/ssl-common.conf.j2 b/roles/nginx/templates/snippets/ssl-common.conf.j2
index a7806ac..b9d6e78 100644
--- a/roles/nginx/templates/snippets/ssl-common.conf.j2
+++ b/roles/nginx/templates/snippets/ssl-common.conf.j2
@@ -1,5 +1,7 @@
ssl on;
+{% if nginx_skip_dhparams == False %}
ssl_dhparam /etc/ssl/dh4096.pem;
+{% endif %}
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;