Skip to content

Commit b8413bd

Browse files
committed
Documentation: Update suggested default for HSTS (remove preload by default) and link to hstspreload.org - refs BT#20965
1 parent 903606b commit b8413bd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

main/install/configuration.dist.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,11 @@
577577
// HTTP Strict Transport Security is an excellent feature to support on your
578578
// site and strengthens your implementation of TLS by getting the User Agent
579579
// to enforce the use of HTTPS. Recommended value
580-
// "strict-transport-security: max-age=63072000; includeSubDomains; preload".
580+
// "strict-transport-security: max-age=63072000; includeSubDomains".
581581
// See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
582-
//$_configuration['security_strict_transport'] = 'strict-transport-security: max-age=63072000; includeSubDomains; preload';
582+
// You can include the "preload" suffix, but this has consequences on the
583+
// top level domain (TLD), so probably not to be done lightly. See https://hstspreload.org/.
584+
//$_configuration['security_strict_transport'] = 'strict-transport-security: max-age=63072000; includeSubDomains';
583585
//
584586
// Content Security Policy is an effective measure to protect your site from
585587
// XSS attacks. By whitelisting sources of approved content, you can prevent

0 commit comments

Comments
 (0)