# Replace this with your own domain. It is the only edit needed.
relay.example.com {
    # Only these two routes exist. Everything else is refused, so the relay
    # offers no surface beyond posting an alert and collecting one.
    handle /hook/* {
        reverse_proxy relay:8080
    }
    handle /agent/* {
        reverse_proxy relay:8080
    }
    handle /health {
        reverse_proxy relay:8080
    }
    handle {
        respond "Not found" 404
    }
}
