{
  admin off
  auto_https off
}

:80 {
  encode zstd gzip

  handle /v1/* {
    reverse_proxy gateway-api:8000 {
      flush_interval -1
    }
  }

  handle /healthz {
    reverse_proxy gateway-api:8000
  }

  handle /readyz {
    reverse_proxy gateway-api:8000
  }

  handle {
    reverse_proxy frontend:3000
  }
}
