mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-25 01:52:40 +00:00
22 lines
800 B
Text
22 lines
800 B
Text
|
listen 443 ssl;
|
||
|
listen [::]:443 ssl;
|
||
|
http2 on;
|
||
|
|
||
|
ssl_stapling on;
|
||
|
ssl_stapling_verify on;
|
||
|
ssl_session_timeout 1d;
|
||
|
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
||
|
ssl_session_tickets on;
|
||
|
|
||
|
# curl https://ssl-config.mozilla.org/ffdhe2048.txt > /path/to/dhparam
|
||
|
ssl_dhparam /config/nginx/dhparams.pem;
|
||
|
|
||
|
# intermediate configuration
|
||
|
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:DHE-RSA-CHACHA20-POLY1305;
|
||
|
ssl_prefer_server_ciphers on;
|
||
|
|
||
|
ssl_certificate /config/keys/fullchain.cer;
|
||
|
ssl_certificate_key /config/keys/cert.key;
|
||
|
ssl_trusted_certificate /config/keys/cert.cer;
|