use env vars for subdomain and domain in caddy

This commit is contained in:
2024-12-07 11:38:09 +01:00
parent 2b61a00841
commit 52fc271b71
9 changed files with 16 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
test.rik.veenboer.xyz {
test.{$SUBDOMAIN}.{$DOMAIN} {
log {
output file /var/log/test.log
}
@@ -7,7 +7,7 @@ test.rik.veenboer.xyz {
reverse_proxy host:15000
}
auth.rik.veenboer.xyz {
auth.{$SUBDOMAIN}.{$DOMAIN} {
route {
authenticate with myportal
}