'nginx/nginx/conf_split/ssl_protocol.conf' toevoegen
This commit is contained in:
parent
3dd143e377
commit
e6534a8b81
1 changed files with 16 additions and 0 deletions
16
nginx/nginx/conf_split/ssl_protocol.conf
Normal file
16
nginx/nginx/conf_split/ssl_protocol.conf
Normal 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;
|
Loading…
Reference in a new issue