summaryrefslogtreecommitdiff
path: root/apache2
diff options
context:
space:
mode:
Diffstat (limited to 'apache2')
-rw-r--r--apache2/conf-available/local-ssl.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/apache2/conf-available/local-ssl.conf b/apache2/conf-available/local-ssl.conf
index e9dd2f5..3e68577 100644
--- a/apache2/conf-available/local-ssl.conf
+++ b/apache2/conf-available/local-ssl.conf
@@ -21,11 +21,11 @@
<IfDefine !_NO_HSTS>
<IfDefine !_NO_HSTS_SUBDOMAINS>
Header add Strict-Transport-Security: "max-age=15768000;includeSubdomains"
-</IfModule>
+</IfDefine>
<IfDefine _NO_HSTS_SUBDOMAINS>
Header add Strict-Transport-Security: "max-age=15768000"
-</IfModule>
-</IfModule>
+</IfDefine>
+</IfDefine>
<IfModule mod_gnutls.c>
GnuTLSEnable on