File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ # Grade A+ SSL support
2+ # https://ssl-config.mozilla.org/#server=nginx&version=1.17.9&config=intermediate&openssl=1.1.1d&guideline=5.4
3+ ssl_session_timeout 1d;
4+ ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
5+ ssl_session_tickets off;
6+
7+ # curl https://ssl-config.mozilla.org/ffdhe2048.txt > /path/to/dhparam.pem
8+ ssl_dhparam /etc/ssl/dhparam.pem;
9+
10+ # intermediate configuration
11+ ssl_protocols TLSv1.2 TLSv1.3;
12+ 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;
13+ ssl_prefer_server_ciphers off;
14+
15+ # OCSP stapling
16+ ssl_stapling on;
17+ ssl_stapling_verify on;
You can’t perform that action at this time.
0 commit comments