traefik/integration/fixtures/multiple_provider.toml
Julien Salleyron 4a68d29ce2 Add a new protocol
Co-authored-by: Gérald Croës <gerald@containo.us>
2019-03-14 09:30:04 +01:00

30 lines
547 B
TOML

[global]
debug=true
[entrypoints]
[entrypoints.web]
address = ":8000"
[api]
[providers]
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
exposedByDefault = false
[providers.file]
[http.routers]
[http.routers.router-1]
Service = "service-test"
Rule = "PathPrefix(`/file`)"
[http.services]
[http.services.service-test]
[http.services.service-test.LoadBalancer]
[[http.services.service-test.LoadBalancer.Servers]]
URL = "http://{{ .IP }}"
Weight = 1