traefik/integration/fixtures/simple_stats.toml
2019-04-16 15:30:09 +02:00

39 lines
785 B
TOML

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
[entryPoints]
[entryPoints.web]
address = ":8000"
[api]
[providers]
[providers.file]
[http.routers]
[http.routers.router1]
EntryPoints = ["web"]
Service = "service1"
Rule = "PathPrefix(`/whoami`)"
[http.routers.router2]
EntryPoints = ["traefik"]
Service = "service2"
Rule = "PathPrefix(`/whoami`)"
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
[[http.services.service1.LoadBalancer.Servers]]
URL = "{{ .Server1 }}"
Weight = 1
[http.services.service2]
[http.services.service2.LoadBalancer]
[[http.services.service2.LoadBalancer.Servers]]
URL = "{{ .Server2 }}"
Weight = 1