mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
29 lines
439 B
TOML
29 lines
439 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
noColor = true
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
|
|
[api]
|
|
insecure = true
|
|
|
|
[providers.rest]
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
[http.routers.rest]
|
|
rule="PathPrefix(`/secure`)"
|
|
service="rest@internal"
|
|
middlewares=["strip"]
|
|
|
|
[http.middlewares.strip.stripPrefix]
|
|
prefixes = [ "/secure" ]
|
|
|