2018-10-17 14:22:03 +02:00
|
|
|
keepTrailingSlash = {{ .KeepTrailingSlash }}
|
2018-11-27 17:42:04 +01:00
|
|
|
|
|
|
|
[log]
|
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
|
2018-10-17 14:22:03 +02:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
|
|
|
address = ":8000"
|
|
|
|
|
2018-11-27 17:42:04 +01:00
|
|
|
[providers]
|
|
|
|
[providers.file]
|
2018-10-17 14:22:03 +02:00
|
|
|
|
|
|
|
# rules
|
|
|
|
[backends]
|
|
|
|
[backends.backend1]
|
|
|
|
[backends.backend1.servers.server1]
|
2018-11-27 17:42:04 +01:00
|
|
|
url = "http://172.17.0.2:80"
|
|
|
|
weight = 1
|
2018-10-17 14:22:03 +02:00
|
|
|
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend1]
|
2018-11-27 17:42:04 +01:00
|
|
|
backend = "backend1"
|
|
|
|
[frontends.frontend1.routes.test_1]
|
|
|
|
rule = "Path:/test/foo"
|