Skip to content

Commit f430981

Browse files
committed
minor update
- signed-off-by: trimstray <trimstray@gmail.com>
1 parent af7261f commit f430981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/RULES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ http {
745745
ssl_protocols TLSv1.2;
746746
ssl_ciphers "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305";
747747
748-
ssl_prefer_server_ciphers on;
748+
ssl_prefer_server_ciphers off;
749749
750750
ssl_ecdh_curve secp521r1:secp384r1;
751751
@@ -3959,7 +3959,7 @@ server {
39593959
39603960
> The reason why this control was preferred is old and insecure ciphers that were available in SSL, and TLS v1.0 and TLS v1.1 because when the server supports old TLS versions and `ssl_prefer_server_ciphers` is off, an adversary can interfere with the handshake and force the connection to use weak ciphers, therefore allowing decrypting of the connection.
39613961
3962-
> The preferred setting in modern setups is `ssl_prefer_server_ciphers off,` because then the client device can choose his preferred encryption method based on the hardware capabilities of the client device.
3962+
> The preferred setting in modern setups is `ssl_prefer_server_ciphers off,` because then the client device can choose his preferred encryption method based on the hardware capabilities of the client device. As such, we let the client choose the most performant cipher suite for their hardware configuration.
39633963
39643964
###### Example
39653965

0 commit comments

Comments
 (0)