2017-07-15 20:33:16 +00:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
# certificate settings
|
2018-08-11 12:59:43 +00:00
|
|
|
ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA';
|
|
|
|
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-08-14 20:35:00 +00:00
|
|
|
|
|
|
|
{% if nginx_tls_enabled and nginx_tls_ocsp_enabled %}
|
|
|
|
ssl_stapling on;
|
|
|
|
ssl_trusted_certificate /pfad/bundle.ca.pem;
|
|
|
|
ssl_stapling_verify on;
|
2018-08-11 12:59:43 +00:00
|
|
|
{% endif %}
|