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