2019-04-09 15:24:05 +00:00
|
|
|
[global]
|
2019-07-01 09:30:05 +00:00
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
2019-04-09 15:24:05 +00:00
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[log]
|
2019-07-01 09:30:05 +00:00
|
|
|
level = "DEBUG"
|
2022-11-21 17:36:05 +00:00
|
|
|
noColor = true
|
2017-09-26 08:22:03 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints]
|
2019-07-01 09:30:05 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints.web]
|
2019-07-01 09:30:05 +00:00
|
|
|
address = ":8000"
|
|
|
|
[entryPoints.web.transport.lifeCycle]
|
|
|
|
requestAcceptGraceTimeout = "10s"
|
2018-11-27 16:42:04 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints.traefik]
|
2019-07-01 09:30:05 +00:00
|
|
|
address = ":8001"
|
|
|
|
[entryPoints.traefik.transport.lifeCycle]
|
|
|
|
requestAcceptGraceTimeout = "10s"
|
2018-11-27 16:42:04 +00:00
|
|
|
|
2019-04-09 15:24:05 +00:00
|
|
|
[ping]
|
|
|
|
|
2019-07-15 08:22:03 +00:00
|
|
|
[providers.file]
|
|
|
|
filename = "{{ .SelfFilename }}"
|
2019-07-01 09:30:05 +00:00
|
|
|
|
|
|
|
## dynamic configuration ##
|
2017-09-26 08:22:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers]
|
|
|
|
[http.routers.router]
|
2019-07-01 09:30:05 +00:00
|
|
|
service = "service"
|
|
|
|
rule = "Path(`/service`)"
|
2018-11-14 09:18:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.services]
|
2019-07-01 09:30:05 +00:00
|
|
|
[http.services.service.loadBalancer]
|
|
|
|
[[http.services.service.loadBalancer.servers]]
|
2019-07-15 08:22:03 +00:00
|
|
|
url = "{{ .Server }}"
|
2018-03-22 17:18:03 +00:00
|
|
|
|