NginxConfig/snippets/ssl-fallback.conf
2016-05-23 20:17:49 +02:00

14 lines
437 B
Plaintext

# For permissions see: https://blog.kamal.io/post/nginx-and-ssl-root-key-security/
ssl_certificate /etc/nginx/certs/default.crt;
ssl_certificate_key /etc/nginx/certs/default.key;
ssl_dhparam /etc/nginx/certs/dhparam4096.pem;
#ssl_trusted_certificate /etc/letsencrypt/live/domain.tld/chain.pem;
# For preload see: https://hstspreload.appspot.com
add_header Strict-Transport-Security "max-age=31536000; preload";
# valid for 365 days