traefik version 2.1.6
Start up traefik use ./traefik -f traefik.toml
How to hot loading static config? such as entrypoints, metrics, accesslog, log.
When the static config was changed , I expect to hot loading it, make sure my service is uninterrupted.
traefik.toml
[global]
checkNewVersion = true
sendAnonymousUsage = true
[api]
insecure = true
[entrypoints]
[entrypoints.web]
Address = ":8000"
[entryPoints.web.transport]
[entryPoints.web.transport.respondingTimeouts]
readTimeout = 42
[entrypoints.websecure]
Address = ":4443"
[entryPoints.websecure.proxyProtocol]
insecure = true
[entrypoints.traefik]
address = ":8086"
[entrypoints.traefik]
address = "127.0.0.1:8083"
[metrics]
[metrics.prometheus]
addEntryPointsLabels = true
addServicesLabels = true
entryPoint = "traefik"
[accesslog]
filepath = "/data/log/traefik_access.log"
bufferingSize = 100
format = "json"
[log]
level = "INFO"
filePath = "/data/log/traefik_log.log"
format = "json"