summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-10-11 20:03:03 +0200
committerJonas Smedegaard <dr@jones.dk>2020-10-11 20:03:03 +0200
commit6f1a108686b07f23ce1846ce99bdc42950ad905c (patch)
tree7ec1ce25162e5ac800c3e04c4db9799a47ff9aba
parentcf5ef8b29ec7929ec81249651c8d9597d9fa6cc5 (diff)
fix syntax errors
-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