server/nginx/harden

This commit is contained in:
Marc Beninca 2019-08-14 22:09:17 +02:00
parent 1a1a5bcc5e
commit c0e7947666

View file

@ -351,8 +351,8 @@ Configuration
# Security # Security
ssl_buffer_size 8k; ssl_buffer_size 8k;
ssl_ciphers "ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ARIA256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ARIA128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256"; ssl_ciphers "ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ARIA256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384";
ssl_ecdh_curve "X448:X25519:P-521:P-384"; ssl_ecdh_curve "X448:X25519:P-521";
ssl_prefer_server_ciphers on; ssl_prefer_server_ciphers on;
ssl_protocols TLSv1.3 TLSv1.2; ssl_protocols TLSv1.3 TLSv1.2;
ssl_session_cache shared:ssl_session_cache:16m; ssl_session_cache shared:ssl_session_cache:16m;