2018-11-27 16:42:04 +00:00
|
|
|
[log]
|
2017-07-25 14:56:46 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
|
|
|
address = ":8000"
|
|
|
|
|
2018-01-11 08:46:03 +00:00
|
|
|
[api]
|
2017-07-25 14:56:46 +00:00
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[providers]
|
|
|
|
[providers.file]
|
2017-07-25 14:56:46 +00:00
|
|
|
|
2018-11-14 09:18:03 +00:00
|
|
|
[Routers]
|
|
|
|
[Routers.router1]
|
|
|
|
Service = "service1"
|
|
|
|
Rule = "PathPrefix:/ws"
|
2017-07-25 14:56:46 +00:00
|
|
|
|
2018-11-14 09:18:03 +00:00
|
|
|
[Services]
|
|
|
|
[Services.service1]
|
|
|
|
[Services.service1.LoadBalancer]
|
|
|
|
passHostHeader = true
|
|
|
|
[[Services.service1.LoadBalancer.Servers]]
|
|
|
|
URL = "{{ .WebsocketServer }}"
|
|
|
|
Weight = 1
|