summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apache2/conf-available/local-tls.conf20
1 files changed, 10 insertions, 10 deletions
diff --git a/apache2/conf-available/local-tls.conf b/apache2/conf-available/local-tls.conf
index 528d266..12e2c4a 100644
--- a/apache2/conf-available/local-tls.conf
+++ b/apache2/conf-available/local-tls.conf
@@ -1,19 +1,19 @@
-<IfDefine !_TLSHOST>
+<IfDefine !_TLS_HOST>
<IfDefine _HOST>
- Define __TLSHOST
- Define _TLSHOST ${_HOST}
+ Define __TLS_HOST
+ Define _TLS_HOST ${_HOST}
</IfDefine>
</IfDefine>
<IfDefine !_TLS_KEY>
- <IfDefine _TLSHOST>
+ <IfDefine _TLS_HOST>
Define __TLS_CERT_CHAIN
Define __TLS_KEY
- Define _TLS_CERT_CHAIN /var/lib/dehydrated/certs/${_TLSHOST}/fullchain.pem
- Define _TLS_KEY /var/lib/dehydrated/certs/${_TLSHOST}/privkey.pem
+ Define _TLS_CERT_CHAIN /var/lib/dehydrated/certs/${_TLS_HOST}/fullchain.pem
+ Define _TLS_KEY /var/lib/dehydrated/certs/${_TLS_HOST}/privkey.pem
</IfDefine>
</IfDefine>
-<IfDefine _TLSHOST>
+<IfDefine _TLS_HOST>
<If "%{HTTPS} != 'on'">
RedirectMatch permanent ^(?!/.well-known/)(.*) https://${_HOST}$1
@@ -53,9 +53,9 @@
</IfDefine>
-<IfDefine __TLSHOST>
- Undefine _TLSHOST
- Undefine __TLSHOST
+<IfDefine __TLS_HOST>
+ Undefine _TLS_HOST
+ Undefine __TLS_HOST
</IfDefine>
<IfDefine __TLS_CERT_CHAIN>
Undefine _TLS_CERT_CHAIN