1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-22 22:13:11 +02:00
Mailu/core/nginx/conf/tls.conf

14 lines
644 B
Plaintext
Raw Normal View History

2017-09-24 18:43:14 +02:00
ssl_certificate {{ TLS[0] }};
ssl_certificate_key {{ TLS[1] }};
2021-08-09 21:29:05 +02:00
{% if TLS_FLAVOR in ['letsencrypt','mail-letsencrypt'] %}
2021-08-09 21:06:15 +02:00
ssl_certificate {{ TLS[2] }};
ssl_certificate_key {{ TLS[3] }};
2022-01-31 12:19:00 +02:00
ssl_trusted_certificate /etc/ssl/certs/ca-cert-ISRG_Root_X1.pem;
2021-08-09 21:06:15 +02:00
{% endif %}
2020-01-20 11:09:11 +02:00
ssl_session_timeout 1d;
ssl_session_tickets off;
2017-12-17 15:46:20 +02:00
ssl_dhparam /conf/dhparam.pem;
2020-01-20 11:09:11 +02:00
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;