traefik/integration/fixtures/simple_stats.toml

36 lines
722 B
TOML
Raw Normal View History

[global]
debug=true
[entrypoints]
[entrypoints.web]
address = ":8000"
[api]
2018-04-11 14:30:04 +00:00
[providers]
[providers.file]
[http.routers]
[http.routers.router1]
EntryPoints = ["web"]
2018-11-14 09:18:03 +00:00
Service = "service1"
Rule = "PathPrefix(`/whoami`)"
[http.routers.router2]
2018-11-14 09:18:03 +00:00
EntryPoints = ["traefik"]
Service = "service2"
Rule = "PathPrefix(`/whoami`)"
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
[[http.services.service1.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "{{ .Server1 }}"
Weight = 1
[http.services.service2]
[http.services.service2.LoadBalancer]
[[http.services.service2.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "{{ .Server2 }}"
Weight = 1