Skip to content

Instantly share code, notes, and snippets.

View xx10n31y's full-sized avatar
🎯
Focusing

xxl0n31y xx10n31y

🎯
Focusing
  • Utopia
  • 20:22 (UTC +08:00)
View GitHub Profile
@xx10n31y
xx10n31y / ssl.conf
Created April 15, 2020 03:04 — forked from VirtuBox/ssl.conf
Nginx SSL/TLS configuration with TLSv1.2 and TLSv1.3 - ECDHE and strong ciphers suite (Openssl 1.1.1)
##
# SSL Settings (TLSv1.2 and TLSv1.3)
##
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers 'TLS13+AESGCM+AES128:EECDH+AES128';
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 1d;
ssl_session_tickets off;
ssl_ecdh_curve X25519:sect571r1:secp521r1:secp384r1