24 lines
448 B
TOML
24 lines
448 B
TOML
logLevel = "DEBUG"
|
|
defaultEntryPoints = ["http"]
|
|
|
|
[entryPoints]
|
|
[entryPoints.http]
|
|
address = ":8000"
|
|
[entryPoints.http.proxyProtocol]
|
|
trustedIPs = ["1.2.3.4"]
|
|
|
|
[api]
|
|
|
|
[file]
|
|
[Routers]
|
|
[Routers.router1]
|
|
Service = "service1"
|
|
Rule = "Path:/whoami"
|
|
|
|
[Services]
|
|
[Services.service1]
|
|
[Services.service1.LoadBalancer]
|
|
|
|
[[Services.service1.LoadBalancer.Servers]]
|
|
URL = "http://{{.WhoamiIP}}"
|
|
Weight = 1
|