Documentation: Update suggested default for HSTS and link to MDN for documentation - refs BT#20965

pull/4863/head
Yannick Warnier 2 years ago
parent 3fd998569c
commit 704dd78012
  1. 5
      main/install/configuration.dist.php

@ -577,8 +577,9 @@ ALTER TABLE sys_announcement ADD COLUMN visible_boss INT DEFAULT 0;
// HTTP Strict Transport Security is an excellent feature to support on your // HTTP Strict Transport Security is an excellent feature to support on your
// site and strengthens your implementation of TLS by getting the User Agent // site and strengthens your implementation of TLS by getting the User Agent
// to enforce the use of HTTPS. Recommended value // to enforce the use of HTTPS. Recommended value
// "strict-transport-security: max-age=31536000; includeSubDomains". // "strict-transport-security: max-age=63072000; includeSubDomains; preload".
//$_configuration['security_strict_transport'] = 'strict-transport-security: max-age=31536000; includeSubDomains'; // See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
//$_configuration['security_strict_transport'] = 'strict-transport-security: max-age=63072000; includeSubDomains; preload';
// //
// Content Security Policy is an effective measure to protect your site from // Content Security Policy is an effective measure to protect your site from
// XSS attacks. By whitelisting sources of approved content, you can prevent // XSS attacks. By whitelisting sources of approved content, you can prevent

Loading…
Cancel
Save