Files
opt/caddy/sites/test.caddy

15 lines
200 B
Plaintext

test.{$SUBDOMAIN}.{$DOMAIN} {
log {
output file /var/log/test.log
}
authorize with mypolicy
reverse_proxy host:15000
}
auth.{$SUBDOMAIN}.{$DOMAIN} {
route {
authenticate with myportal
}
}