28 lines
492 B
TOML
28 lines
492 B
TOML
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[serversTransport]
|
|
# Use certificate in net/internal/testcert.go
|
|
rootCAs = [ "fixtures/https/rootcas/local.crt"]
|
|
|
|
[entryPoints]
|
|
[entryPoints.http]
|
|
address = ":8081"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[Routers]
|
|
[Routers.router1]
|
|
Service = "service1"
|
|
Rule = "Path: /ping"
|
|
|
|
[Services]
|
|
[Services.service1]
|
|
[Services.service1.LoadBalancer]
|
|
|
|
[[Services.service1.LoadBalancer.Servers]]
|
|
URL = "{{ .BackendHost }}"
|
|
Weight = 1
|