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

11 lines
344 B
Plaintext
Raw Normal View History

2017-07-15 22:33:16 +02:00
# {{ ansible_managed }}
# certificate settings
2018-08-11 14:59:43 +02:00
ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA';
ssl_prefer_server_ciphers on;
2017-07-15 22:33:16 +02:00
2018-08-11 14:59:43 +02:00
ssl_protocols TLSv1.2;
2017-07-15 22:33:16 +02:00
ssl_session_cache shared:SSL:10m;
2018-08-11 14:59:43 +02:00
{% if nginx_pfs_enabled and nginx_dhparam_file is defined %}
2017-12-23 12:25:55 +01:00
ssl_dhparam {{ nginx_dhparam_file }};
2018-08-11 14:59:43 +02:00
{% endif %}