mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
5841441005
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
38 lines
727 B
TOML
38 lines
727 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
# Limiting the Logs to Specific Fields
|
|
[accessLog]
|
|
format = "json"
|
|
filePath = "access.log"
|
|
|
|
[accessLog.fields.headers.names]
|
|
"Foo" = "keep"
|
|
"Bar" = "keep"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
[entryPoints.web.forwardedHeaders]
|
|
insecure = true
|
|
connection = ["Foo"]
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
rule = "Host(`test.localhost`)"
|
|
service = "service1"
|
|
|
|
[http.services]
|
|
[http.services.service1.loadBalancer]
|
|
[[http.services.service1.loadBalancer.servers]]
|
|
url = "http://127.0.0.1:9000"
|