# Example: Caddy runs on the same Linux host as this Compose project.
# Replace the domain and configure DNS before use.
# Set client.allowed_origins in Centrifugo to the actual frontend origin.
realtime.example.com {
    @websocket path /connection/websocket
    handle @websocket {
        reverse_proxy 127.0.0.1:8598
    }
    handle {
        respond "Not found" 404
    }
}
