1
0
angie-krdsh/snip.d/tls-intermediate
2024-05-06 17:01:05 +03:00

12 lines
628 B
Plaintext

## always sourced by conf.d/http-ssl.conf
include snip.d/tls-common;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_session_cache shared:tls-intermediate:20m;
ssl_prefer_server_ciphers off;
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:DHE-RSA-CHACHA20-POLY1305;
## openssl genpkey -genparam -algorithm DH -out /etc/angie/tls/ffdhe2048.pem -pkeyopt group:ffdhe2048
ssl_dhparam /etc/angie/tls/ffdhe2048.pem;