37 lines
1.8 KiB
Plaintext
37 lines
1.8 KiB
Plaintext
|
## Version 2018/05/31 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/ssl.conf
|
||
|
|
||
|
# session settings
|
||
|
ssl_session_timeout 1d;
|
||
|
ssl_session_cache shared:SSL:50m;
|
||
|
ssl_session_tickets off;
|
||
|
|
||
|
# Diffie-Hellman parameter for DHE cipher suites
|
||
|
ssl_dhparam /config/nginx/dhparams.pem;
|
||
|
|
||
|
# ssl certs
|
||
|
#ssl_certificate /config/keys/letsencrypt/fullchain.pem;
|
||
|
#ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
|
||
|
ssl_certificate /etc/letsencrypt/live/vtluug.org/fullchain.pem;
|
||
|
ssl_certificate_key /etc/letsencrypt/live/vtluug.org/privkey.pem;
|
||
|
|
||
|
# protocols
|
||
|
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||
|
ssl_prefer_server_ciphers on;
|
||
|
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA;
|
||
|
|
||
|
# HSTS, remove # from the line below to enable HSTS
|
||
|
#add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
|
||
|
|
||
|
# OCSP Stapling
|
||
|
ssl_stapling on;
|
||
|
ssl_stapling_verify on;
|
||
|
|
||
|
# Optional additional headers
|
||
|
#add_header Content-Security-Policy "upgrade-insecure-requests";
|
||
|
#add_header X-Frame-Options "SAMEORIGIN" always;
|
||
|
#add_header X-XSS-Protection "1; mode=block" always;
|
||
|
#add_header X-Content-Type-Options "nosniff" always;
|
||
|
#add_header X-UA-Compatible "IE=Edge" always;
|
||
|
#add_header Cache-Control "no-transform" always;
|
||
|
#add_header Referrer-Policy "same-origin" always;
|