traefik/integration/fixtures/proxy-protocol/with.toml

26 lines
456 B
TOML
Raw Normal View History

2017-10-30 09:02:03 +00:00
logLevel = "DEBUG"
defaultEntryPoints = ["http"]
[entryPoints]
2018-04-11 14:30:04 +00:00
[entryPoints.http]
2018-11-14 09:18:03 +00:00
address = ":8000"
2018-04-11 14:30:04 +00:00
[entryPoints.http.proxyProtocol]
2018-11-14 09:18:03 +00:00
trustedIPs = ["{{.HaproxyIP}}"]
2017-10-30 09:02:03 +00:00
[api]
2017-10-30 09:02:03 +00:00
[file]
2018-11-14 09:18:03 +00:00
[Routers]
[Routers.router1]
Service = "service1"
Rule = "Path:/whoami"
2017-10-30 09:02:03 +00:00
2018-11-14 09:18:03 +00:00
[Services]
[Services.service1]
[Services.service1.LoadBalancer]
[[Services.service1.LoadBalancer.Servers]]
URL = "http://{{.WhoamiIP}}"
Weight = 1