{$DOMAIN} {
  handle /health {
    reverse_proxy server:3001
  }
  handle /sync {
    redir /sync/ 308
  }
  handle_path /sync/* {
    reverse_proxy powersync:8080
  }
  handle /api/* {
    reverse_proxy server:3001
  }
  handle {
    reverse_proxy web:8080
  }
}
