31 lines
603 B
TOML
31 lines
603 B
TOML
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[entrypoints]
|
|
[entrypoints.web]
|
|
address = ":8000"
|
|
[entrypoints.web.transport.lifeCycle]
|
|
RequestAcceptGraceTimeout = "10s"
|
|
|
|
[entrypoints.traefik]
|
|
address = ":8001"
|
|
[entrypoints.traefik.transport.lifeCycle]
|
|
RequestAcceptGraceTimeout = "10s"
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router]
|
|
Service = "service"
|
|
Rule = "Path(`/service`)"
|
|
|
|
[http.services]
|
|
[http.services.service]
|
|
[http.services.service.LoadBalancer]
|
|
|
|
[[http.services.service.LoadBalancer.Servers]]
|
|
URL = "{{.Server}}"
|
|
Weight = 1
|
|
|
|
[ping]
|