mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
e62fe64ec9
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
33 lines
623 B
TOML
33 lines
623 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
[entryPoints.encodeSemicolons]
|
|
address = ":8001"
|
|
[entryPoints.encodeSemicolons.http]
|
|
encodeQuerySemicolons = true
|
|
|
|
[api]
|
|
insecure = true
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
[http.routers.router]
|
|
service = "service1"
|
|
rule = "Host(`other.localhost`)"
|
|
|
|
[http.services]
|
|
[http.services.service1.loadBalancer]
|
|
[[http.services.service1.loadBalancer.servers]]
|
|
url = "{{ .Server1 }}"
|