1
0
Fork 0

Fix some minors errors on the documentation

This commit is contained in:
Jean-Baptiste Doumenjou 2019-03-26 16:32:06 +01:00 committed by Traefiker Bot
parent 3e76c25887
commit fd26cf265d
9 changed files with 23 additions and 44 deletions

View file

@ -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]