32 lines
584 B
TOML
32 lines
584 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[serversTransport]
|
|
# Use certificate in net/internal/testcert.go
|
|
rootCAs = [ "fixtures/https/rootcas/local.crt"]
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8081"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
Service = "service1"
|
|
Rule = "Path(`/ping`)"
|
|
|
|
[http.services]
|
|
[http.services.service1]
|
|
[http.services.service1.LoadBalancer]
|
|
|
|
[[http.services.service1.LoadBalancer.Servers]]
|
|
URL = "{{ .BackendHost }}"
|
|
Weight = 1
|