traefik/integration/fixtures/websocket/config.toml

25 lines
443 B
TOML
Raw Normal View History

[log]
logLevel = "DEBUG"
[entrypoints]
[entrypoints.web]
address = ":8000"
[api]
[providers]
[providers.file]
[http.routers]
[http.routers.router1]
2018-11-14 09:18:03 +00:00
Service = "service1"
Rule = "PathPrefix(`/ws`)"
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
2018-11-14 09:18:03 +00:00
passHostHeader = true
[[http.services.service1.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "{{ .WebsocketServer }}"
Weight = 1