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

@ -14,7 +14,8 @@ The DigestAuth middleware is a quick way to restrict access to your services to
```toml
[http.middlewares]
[http.middlewares.test-auth.digestauth]
users = ["test:traefik:a2688e031edb4be6a3797f3882655c05", "test2:traefik:518845800f9e2bfb1f1f740ec24f074e"]
users = ["test:traefik:a2688e031edb4be6a3797f3882655c05",
"test2:traefik:518845800f9e2bfb1f1f740ec24f074e"]
```
??? example "Docker -- Using an external file for the authorized users"

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]