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

27 lines
450 B
TOML
Raw Normal View History

[log]
2017-10-30 09:02:03 +00:00
logLevel = "DEBUG"
[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 = ["1.2.3.4"]
2017-10-30 09:02:03 +00:00
[api]
2017-10-30 09:02:03 +00:00
[providers]
[providers.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]
2017-10-30 09:02:03 +00:00
2018-11-14 09:18:03 +00:00
[[Services.service1.LoadBalancer.Servers]]
URL = "http://{{.WhoamiIP}}"
Weight = 1