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

31 lines
549 B
TOML
Raw Normal View History

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
2017-10-30 09:02:03 +00:00
logLevel = "DEBUG"
[entrypoints]
[entrypoints.web]
2018-11-14 09:18:03 +00:00
address = ":8000"
[entrypoints.web.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
[providers]
[providers.file]
2017-10-30 09:02:03 +00:00
[http.routers]
[http.routers.router1]
2018-11-14 09:18:03 +00:00
Service = "service1"
Rule = "Path(`/whoami`)"
2017-10-30 09:02:03 +00:00
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
2018-11-14 09:18:03 +00:00
[[http.services.service1.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "http://{{.WhoamiIP}}"
Weight = 1