9ebe3c38b2
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
28 lines
494 B
TOML
28 lines
494 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
|