Merge pull request #372 from schallertd/master

Fixed formatting
This commit is contained in:
Michael Kaufmann
2016-08-06 07:19:38 +02:00
committed by GitHub

View File

@@ -601,7 +601,6 @@ 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';