Fix some minors errors on the documentation
This commit is contained in:
parent
3e76c25887
commit
fd26cf265d
9 changed files with 23 additions and 44 deletions
|
@ -23,7 +23,7 @@ Pieces of middleware can be combined in chains to fit every scenario.
|
|||
[http.routers.router1]
|
||||
Service = "myService"
|
||||
Middlewares = ["foo-add-prefix"]
|
||||
Rule = "Host: example.com"
|
||||
Rule = "Host(`example.com`)"
|
||||
|
||||
[http.middlewares]
|
||||
[http.middlewares.foo-add-prefix.AddPrefix]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue