add elliptic-curve

This commit is contained in:
milad nazari 2024-12-12 01:15:39 +03:30
parent 5e7b69c396
commit 95a94a4f8c
3 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
text = True
non-interactive = True
webroot-path = /data/letsencrypt-acme-challenge
elliptic-curve = secp384r1
elliptic-curve = X25519:prime256v1:secp384r1
preferred-chain = ISRG Root X1
server =

View File

@ -1,5 +1,5 @@
text = True
non-interactive = True
webroot-path = /data/letsencrypt-acme-challenge
elliptic-curve = secp384r1
elliptic-curve = X25519:prime256v1:secp384r1
preferred-chain = ISRG Root X1

View File

@ -5,4 +5,3 @@ ssl_session_cache shared:SSL:50m;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384:RSA-AES256-CBC-SHA256";
ssl_prefer_server_ciphers off;
ssl_ecdh_curve X25519:prime256v1:secp384r1;