Skip to content

Commit

Permalink
Set ssl_prefer_server_ciphers to off (#328)
Browse files Browse the repository at this point in the history
Co-authored-by: Léo Colombaro <[email protected]>
  • Loading branch information
avj and LeoColomb authored Feb 24, 2023
1 parent e4bdb97 commit 22abda7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions h5bp/tls/ssl_engine.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
# https://trac.nginx.org/nginx/changeset/1356a3b9692441e163b4e78be4e9f5a46c7479e9/nginx
# https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_tickets
#
# (5) Basic security improvements
# (5) The TLS 1.2 and 1.3 ciphers in use in current policies are not considered
# dangerous. This directive let the client choose the one that best fits their needs.
# https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_prefer_server_ciphers
# https://wiki.mozilla.org/Security/Server_Side_TLS

# (1)
ssl_session_timeout 24h;
Expand All @@ -41,4 +44,4 @@ keepalive_timeout 300s;
ssl_session_tickets off;

# (5)
ssl_prefer_server_ciphers on;
ssl_prefer_server_ciphers off;

0 comments on commit 22abda7

Please sign in to comment.