Warning: Non-standard capitalization of includeSubDomains
Header contains the token . The recommended capitalization is . Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -631,7 +631,7 @@ class nginx extends HttpConfigBase {
|
||||
if (isset($domain_or_ip['hsts']) && $domain_or_ip['hsts'] > 0) {
|
||||
$vhost_content .= 'add_header Strict-Transport-Security "max-age=' . $domain_or_ip['hsts'];
|
||||
if ($domain_or_ip['hsts_sub'] == 1) {
|
||||
$vhost_content .= '; includeSubdomains';
|
||||
$vhost_content .= '; includeSubDomains';
|
||||
}
|
||||
if ($domain_or_ip['hsts_preload'] == 1) {
|
||||
$vhost_content .= '; preload';
|
||||
|
||||
Reference in New Issue
Block a user