2018-10-17 12:22:03 +00:00
|
|
|
keepTrailingSlash = {{ .KeepTrailingSlash }}
|
2018-11-27 16:42:04 +00:00
|
|
|
|
|
|
|
[log]
|
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[entrypoints]
|
|
|
|
[entrypoints.web]
|
2018-10-17 12:22:03 +00:00
|
|
|
address = ":8000"
|
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[providers]
|
|
|
|
[providers.file]
|
2018-10-17 12:22:03 +00:00
|
|
|
|
|
|
|
# rules
|
|
|
|
[backends]
|
|
|
|
[backends.backend1]
|
|
|
|
[backends.backend1.servers.server1]
|
2018-11-27 16:42:04 +00:00
|
|
|
url = "http://172.17.0.2:80"
|
|
|
|
weight = 1
|
2018-10-17 12:22:03 +00:00
|
|
|
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend1]
|
2018-11-27 16:42:04 +00:00
|
|
|
backend = "backend1"
|
|
|
|
[frontends.frontend1.routes.test_1]
|
2019-01-30 15:24:07 +00:00
|
|
|
rule = "Path(`/test/foo`)"
|