mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
13 lines
578 B
Plaintext
13 lines
578 B
Plaintext
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] }};
|
|
{% 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;
|