use env vars for subdomain and domain in caddy
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user