29 lines
536 B
TOML
29 lines
536 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
rule = "Host(`test.localhost`)"
|
|
service = "service1"
|
|
|
|
[http.routers.router2]
|
|
rule = "Host(`test.foo.localhost.`)"
|
|
service = "service1"
|
|
|
|
[http.services]
|
|
[http.services.service1.loadBalancer]
|
|
[[http.services.service1.loadBalancer.servers]]
|
|
url = "{{.Server}}"
|