diff --git a/scripts/jobs/cron_tasks.inc.http.10.apache.php b/scripts/jobs/cron_tasks.inc.http.10.apache.php index 3a1898fe..d20a0fd5 100644 --- a/scripts/jobs/cron_tasks.inc.http.10.apache.php +++ b/scripts/jobs/cron_tasks.inc.http.10.apache.php @@ -840,7 +840,7 @@ class apache extends HttpConfigBase $vhost_content .= ' ' . "\n"; $vhost_content .= ' Header always set Strict-Transport-Security "max-age=' . $domain['hsts']; if ($domain['hsts_sub'] == 1) { - $vhost_content .= '; includeSubdomains'; + $vhost_content .= '; includeSubDomains'; } if ($domain['hsts_preload'] == 1) { $vhost_content .= '; preload'; diff --git a/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php b/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php index 2d87aaec..de8718a9 100644 --- a/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php +++ b/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php @@ -523,7 +523,7 @@ class lighttpd extends HttpConfigBase $vhost_content .= '$HTTP["scheme"] == "https" { setenv.add-response-header = ( "Strict-Transport-Security" => "max-age=' . $domain['hsts']; if ($domain['hsts_sub'] == 1) { - $vhost_content .= '; includeSubdomains'; + $vhost_content .= '; includeSubDomains'; } if ($domain['hsts_preload'] == 1) { $vhost_content .= '; preload'; diff --git a/scripts/jobs/cron_tasks.inc.http.30.nginx.php b/scripts/jobs/cron_tasks.inc.http.30.nginx.php index 77f14c71..de6dd6b5 100644 --- a/scripts/jobs/cron_tasks.inc.http.30.nginx.php +++ b/scripts/jobs/cron_tasks.inc.http.30.nginx.php @@ -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';