31 lines
475 B
TOML
31 lines
475 B
TOML
|
[global]
|
||
|
checkNewVersion = false
|
||
|
sendAnonymousUsage = false
|
||
|
|
||
|
[log]
|
||
|
level = "ERROR"
|
||
|
filePath = "traefik.log"
|
||
|
|
||
|
[accessLog]
|
||
|
filePath = "access.log"
|
||
|
|
||
|
[entryPoints]
|
||
|
[entryPoints.web]
|
||
|
address = ":8000"
|
||
|
|
||
|
[api]
|
||
|
insecure = true
|
||
|
|
||
|
[ping]
|
||
|
|
||
|
[providers]
|
||
|
[providers.file]
|
||
|
filename = "{{ .SelfFilename }}"
|
||
|
|
||
|
## dynamic configuration ##
|
||
|
[http.routers]
|
||
|
[http.routers.customPing]
|
||
|
entryPoints = ["web"]
|
||
|
rule = "PathPrefix(`/ping`)"
|
||
|
service = "ping@internal"
|