Define _TLSHOST ${_HOST}
Define _TLS_CERT_CHAIN /var/lib/dehydrated/certs/${_TLSHOST}/fullchain.pem
Define _TLS_KEY /var/lib/dehydrated/certs/${_TLSHOST}/privkey.pem
RedirectMatch permanent ^(?!/.well-known/)(.*) https://${_HOST}/$1
GnuTLSEnable on
GnuTLSCertificateFile ${_TLS_CERT_CHAIN}
GnuTLSKeyFile ${_TLS_KEY}
SSLEngine on
SSLCertificateFile ${_TLS_CERT_CHAIN}
SSLCertificateKeyFile ${_TLS_KEY}
SSLOptions +StdEnvVars
SSLOptions +StdEnvVars
# _TLSHOST