{$CADDY_DOMAIN:localhost} {
  encode zstd gzip

  handle /api/* {
    reverse_proxy api:8000
  }

  handle /media/* {
    reverse_proxy api:8000
  }

  handle {
    reverse_proxy web:80
  }
}
