4a68d29ce2
Co-authored-by: Gérald Croës <gerald@containo.us>
26 lines
488 B
TOML
26 lines
488 B
TOML
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[entrypoints]
|
|
[entrypoints.web]
|
|
address = ":8000"
|
|
[entrypoints.web.proxyProtocol]
|
|
trustedIPs = ["{{.HaproxyIP}}"]
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
Service = "service1"
|
|
Rule = "Path(`/whoami`)"
|
|
|
|
[http.services]
|
|
[http.services.service1]
|
|
[http.services.service1.LoadBalancer]
|
|
|
|
[[http.services.service1.LoadBalancer.Servers]]
|
|
URL = "http://{{.WhoamiIP}}"
|
|
Weight = 1
|