mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
38 lines
705 B
TOML
38 lines
705 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
noColor = true
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
[entryPoints.web.transport.lifeCycle]
|
|
requestAcceptGraceTimeout = "10s"
|
|
|
|
[entryPoints.traefik]
|
|
address = ":8001"
|
|
[entryPoints.traefik.transport.lifeCycle]
|
|
requestAcceptGraceTimeout = "10s"
|
|
|
|
[ping]
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
[http.routers.router]
|
|
service = "service"
|
|
rule = "Path(`/service`)"
|
|
|
|
[http.services]
|
|
[http.services.service.loadBalancer]
|
|
[[http.services.service.loadBalancer.servers]]
|
|
url = "{{ .Server }}"
|
|
|