2020-11-02 19:46:59 +01:00
|
|
|
# SSL Config
|
|
|
|
ssl_certificate /etc/letsencrypt/live/{domain_name}/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/{domain_name}/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/{domain_name}/fullchain.pem;
|
|
|
|
|
|
|
|
ssl_session_cache shared:SSL:50m;
|
|
|
|
ssl_session_timeout 5m;
|
|
|
|
ssl_stapling on;
|
|
|
|
ssl_stapling_verify on;
|
|
|
|
|
2020-11-18 22:07:28 +01:00
|
|
|
ssl_protocols {ssl_protocols};
|
|
|
|
ssl_ciphers "{ssl_ciphers}";
|
2022-11-10 14:39:38 +01:00
|
|
|
ssl_prefer_server_ciphers off;
|
2020-11-18 22:07:28 +01:00
|
|
|
|
|
|
|
add_header Strict-Transport-Security "{add_header_hsts}" always;
|