Caddy Deployment Issue?

So my deployment isnt working after I changed my caddy file?

Repl:
https://replit.com/@bendiereal/Bendies-Survival-Server

Code for caddy:

bendiegames.replit.app {
  root * web
  reverse_proxy localhost:8081
  handle_errors {
    @502 expression `{err.status_code} == 502`
    handle @502 {
      file_server
    }
    respond "{err.status_code} {err.status_text}" {err.status_code}
  }
}