xoxys.nginx/templates/etc/nginx/conf.d/tls.conf.j2

13 lines
315 B
Plaintext
Raw Normal View History

2017-07-15 20:33:16 +00:00
# {{ ansible_managed }}
2018-10-22 08:56:39 +00:00
ssl_ciphers '{{ nginx_tls_ciphers | join(":") }}';
2018-08-11 12:59:43 +00:00
ssl_prefer_server_ciphers on;
2017-07-15 20:33:16 +00:00
2018-08-11 12:59:43 +00:00
ssl_protocols TLSv1.2;
2017-07-15 20:33:16 +00:00
ssl_session_cache shared:SSL:10m;
2018-10-22 08:56:39 +00:00
{% if nginx_tls_ocsp_enabled %}
ssl_stapling on;
2018-10-22 08:56:39 +00:00
ssl_trusted_certificate {{ nginx_tls_ocsp_trusted_certificate }};
ssl_stapling_verify on;
2018-08-11 12:59:43 +00:00
{% endif %}