traefik/integration/fixtures/multiple_provider.toml

33 lines
571 B
TOML
Raw Normal View History

[global]
2019-07-01 09:30:05 +00:00
checkNewVersion = false
sendAnonymousUsage = false
[log]
2019-07-01 09:30:05 +00:00
level = "DEBUG"
[entryPoints]
[entryPoints.web]
2019-07-01 09:30:05 +00:00
address = ":8000"
[api]
[providers]
2019-07-01 09:30:05 +00:00
[providers.docker]
watch = true
exposedByDefault = false
2019-07-01 09:30:05 +00:00
[providers.file]
filename = "{{ .SelfFilename }}"
2019-07-01 09:30:05 +00:00
## dynamic configuration ##
[http.routers]
[http.routers.router-1]
2019-07-01 09:30:05 +00:00
service = "service-test"
rule = "PathPrefix(`/file`)"
2018-04-11 14:30:04 +00:00
[http.services]
2019-07-01 09:30:05 +00:00
[http.services.service-test.loadBalancer]
[[http.services.service-test.loadBalancer.servers]]
url = "http://{{ .IP }}"