Skip to content

Commit 704dd78

Browse files
committed
Documentation: Update suggested default for HSTS and link to MDN for documentation - refs BT#20965
1 parent 3fd9985 commit 704dd78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main/install/configuration.dist.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,9 @@
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=31536000; includeSubDomains".
581-
//$_configuration['security_strict_transport'] = 'strict-transport-security: max-age=31536000; includeSubDomains';
580+
// "strict-transport-security: max-age=63072000; includeSubDomains; preload".
581+
// 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';
582583
//
583584
// Content Security Policy is an effective measure to protect your site from
584585
// XSS attacks. By whitelisting sources of approved content, you can prevent

0 commit comments

Comments
 (0)