1
0
mirror of https://github.com/containous/traefik.git synced 2025-01-11 05:17:52 +03:00
traefik/integration/fixtures/proxy-protocol/proxy-protocol.toml

38 lines
741 B
TOML
Raw Normal View History

[global]
2019-07-01 12:30:05 +03:00
checkNewVersion = false
sendAnonymousUsage = false
[log]
2019-07-01 12:30:05 +03:00
level = "DEBUG"
2022-11-21 20:36:05 +03:00
noColor = true
2017-10-30 12:02:03 +03:00
[entryPoints]
[entryPoints.trust]
2018-11-14 12:18:03 +03:00
address = ":8000"
[entryPoints.trust.proxyProtocol]
trustedIPs = ["127.0.0.1"]
[entryPoints.nottrust]
address = ":9000"
[entryPoints.nottrust.proxyProtocol]
trustedIPs = ["1.2.3.4"]
2017-10-30 12:02:03 +03:00
[api]
2019-09-06 16:08:04 +03:00
insecure = true
2017-10-30 12:02:03 +03:00
[providers.file]
filename = "{{ .SelfFilename }}"
2019-07-01 12:30:05 +03:00
## dynamic configuration ##
2017-10-30 12:02:03 +03:00
[http.routers]
[http.routers.router1]
2019-07-01 12:30:05 +03:00
service = "service1"
rule = "Path(`/whoami`)"
2017-10-30 12:02:03 +03:00
[http.services]
[http.services.service1]
2019-07-01 12:30:05 +03:00
[http.services.service1.loadBalancer]
2018-11-14 12:18:03 +03:00
2019-07-01 12:30:05 +03:00
[[http.services.service1.loadBalancer.servers]]
url = "http://{{.WhoamiIP}}"