#jinja2: lstrip_blocks: True # {{ ansible_managed }} 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 }}; {% endif %} {% if nginx_tls_dhparam_file is defined %} ssl_dhparam {{ nginx_tls_dhparam_file }}; {% endif %} ssl_protocols {{ nginx_tls_versions | join(" ") }}; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; ssl_session_tickets off; {% if nginx_tls_ocsp_enabled %} ssl_stapling on; ssl_trusted_certificate {{ nginx_tls_ocsp_trusted_certificate }}; ssl_stapling_verify on; {% endif %}