use env vars for subdomain and domain in caddy
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
authentik.veenboer.xyz {
|
||||
authentik.{$DOMAIN} {
|
||||
log {
|
||||
output file /var/log/authentik-root.log
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
geo.rik.veenboer.xyz {
|
||||
geo.{$SUBDOMAIN}.{$DOMAIN} {
|
||||
log {
|
||||
output file /var/log/geo.log
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ha.rik.veenboer.xyz {
|
||||
ha.{$SUBDOMAIN}.{$DOMAIN} {
|
||||
log {
|
||||
output file /var/log/ha.log
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
rik.veenboer.xyz \
|
||||
*.rik.veenboer.xyz \
|
||||
{$SUBDOMAIN}.{$DOMAIN} \
|
||||
*.{$SUBDOMAIN}.{$DOMAIN} \
|
||||
{
|
||||
handle_path /test/* {
|
||||
reverse_proxy host:12345
|
||||
|
||||
@@ -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