mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
34 lines
589 B
TOML
34 lines
589 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
|
|
[api]
|
|
insecure = true
|
|
|
|
[providers]
|
|
[providers.docker]
|
|
watch = true
|
|
exposedByDefault = false
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
[http.routers.router-1]
|
|
service = "service-test"
|
|
rule = "PathPrefix(`/file`)"
|
|
|
|
[http.services]
|
|
[http.services.service-test.loadBalancer]
|
|
[[http.services.service-test.loadBalancer.servers]]
|
|
url = "http://{{ .IP }}"
|