diff options
Diffstat (limited to 'apache2/conf-available')
-rw-r--r-- | apache2/conf-available/local-ssl.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apache2/conf-available/local-ssl.conf b/apache2/conf-available/local-ssl.conf index e35e9ca..83acb90 100644 --- a/apache2/conf-available/local-ssl.conf +++ b/apache2/conf-available/local-ssl.conf @@ -1,10 +1,13 @@ <IfDefine !_TLSHOST> <IfDefine _HOST> + Define __TLSHOST Define _TLSHOST ${_HOST} </IfDefine> </IfDefine> <IfDefine !_TLS_KEY> <IfDefine _TLSHOST> + 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 </IfDefine> @@ -60,3 +63,16 @@ </IfModule> </IfDefine> + +<IfDefine __TLSHOST> + Undefine _TLSHOST + Undefine __TLSHOST +</IfDefine> +<IfDefine __TLS_CERT_CHAIN> + Undefine _TLS_CERT_CHAIN + Undefine __TLS_CERT_CHAIN +</IfDefine> +<IfDefine __TLS_KEY> + Undefine _TLS_KEY + Undefine __TLS_KEY +</IfDefine> |