github.com/anycable/anycable-go@v1.5.1/etc/traefik/rules.toml (about)

     1  # rules.toml
     2  
     3  [http.routers.websocket]
     4    rule = "Host(`localhost`) && Path(`/cable`)"
     5    service = "websocket"
     6  
     7  [http.services.websocket.loadBalancer]
     8    [[http.services.websocket.loadBalancer.servers]]
     9      url = "http://localhost:8081"
    10    [[http.services.websocket.loadBalancer.servers]]
    11      url = "http://localhost:8082"
    12    [[http.services.websocket.loadBalancer.servers]]
    13      url = "http://localhost:8083"