You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
ssl_certificate {{ TLS[0] }};
|
|
|
|
ssl_certificate_key {{ TLS[1] }};
|
|
|
|
{% if TLS_FLAVOR in ['letsencrypt','mail-letsencrypt'] %}
|
|
|
|
ssl_certificate {{ TLS[2] }};
|
|
|
|
ssl_certificate_key {{ TLS[3] }};
|
|
|
|
ssl_trusted_certificate /etc/ssl/certs/ca-cert-ISRG_Root_X1.pem;
|
|
|
|
{% endif %}
|
|
|
|
ssl_session_timeout 1d;
|
|
|
|
ssl_session_tickets off;
|
|
|
|
ssl_dhparam /conf/dhparam.pem;
|
|
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
|
|
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
|
|
|
ssl_prefer_server_ciphers off;
|