{$DOMAIN:localhost} { @protected { not path /health } basic_auth @protected { {$BASIC_AUTH_USER:admin} {$BASIC_AUTH_HASH} } handle /graphql { reverse_proxy server:3000 } handle /health { reverse_proxy server:3000 } handle /api/* { reverse_proxy server:3000 } handle { reverse_proxy client:80 } } docs.{$DOMAIN:localhost} { basic_auth { {$BASIC_AUTH_USER:admin} {$BASIC_AUTH_HASH} } reverse_proxy docs:80 }