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