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