diff --git a/templates/etc/nginx/conf.d/tls.conf.j2 b/templates/etc/nginx/conf.d/tls.conf.j2 index dafe9ab..3220e90 100644 --- a/templates/etc/nginx/conf.d/tls.conf.j2 +++ b/templates/etc/nginx/conf.d/tls.conf.j2 @@ -1,9 +1,9 @@ #jinja2: lstrip_blocks: True # {{ ansible_managed }} -ssl_ciphers '{{ nginx_tls_ciphers | join(":") }}'; +ssl_ciphers {{ nginx_tls_ciphers | join(":") }}; ssl_prefer_server_ciphers on; {% if nginx_tls_ecdh_curve is defined %} -ssl_ecdh_curve {{ nginx_tls_ecdh_curve }}; +ssl_ecdh_curve {{ nginx_tls_ecdh_curve | join(":") }}; {% endif %} {% if nginx_tls_dhparam_file is defined %} ssl_dhparam {{ nginx_tls_dhparam_file }};