'nginx/nginx/conf_split/ssl_protocol_strong.conf' toevoegen

This commit is contained in:
Mathijs Lermer 2020-10-28 13:38:48 +01:00
parent 63afa8f579
commit 8abd09d3dc

View file

@ -0,0 +1,16 @@
# https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
ssl_session_cache shared:SSL:10m;
ssl_protocols TLSv1.3 TLSv1.2;
# A+ en max veilig:
ssl_ciphers "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305";
ssl_prefer_server_ciphers on;
ssl_stapling on;
ssl_stapling_verify on;
resolver 1.1.1.1 1.0.0.1 8.8.8.8 8.8.4.4 [2606:4700:4700::1111] [2606:4700:4700::1001] valid=300s;
resolver_timeout 5s;
ssl_session_timeout 1d;
ssl_session_tickets off;
server_tokens off;