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

30 lines
527 B
TOML
Raw Normal View History

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
2017-10-30 09:02:03 +00:00
[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}}"