25 lines
435 B
TOML
25 lines
435 B
TOML
keepTrailingSlash = {{ .KeepTrailingSlash }}
|
|
|
|
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
[entrypoints]
|
|
[entrypoints.web]
|
|
address = ":8000"
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
# rules
|
|
[backends]
|
|
[backends.backend1]
|
|
[backends.backend1.servers.server1]
|
|
url = "http://172.17.0.2:80"
|
|
weight = 1
|
|
|
|
[frontends]
|
|
[frontends.frontend1]
|
|
backend = "backend1"
|
|
[frontends.frontend1.routes.test_1]
|
|
rule = "Path(`/test/foo`)"
|