Add keepTrailingSlash option
This commit is contained in:
parent
70fa42aee0
commit
95d86d84b4
6 changed files with 100 additions and 2 deletions
23
integration/fixtures/keep_trailing_slash.toml
Normal file
23
integration/fixtures/keep_trailing_slash.toml
Normal file
|
@ -0,0 +1,23 @@
|
|||
defaultEntryPoints = ["http"]
|
||||
|
||||
keepTrailingSlash = {{ .KeepTrailingSlash }}
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[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"
|
Loading…
Add table
Add a link
Reference in a new issue