1
0
Fork 0

Add a new protocol

Co-authored-by: Gérald Croës <gerald@containo.us>
This commit is contained in:
Julien Salleyron 2019-03-14 09:30:04 +01:00 committed by Traefiker Bot
parent 0ca2149408
commit 4a68d29ce2
231 changed files with 6895 additions and 4395 deletions

View file

@ -12,8 +12,8 @@ The AddPrefix middleware updates the URL Path of the request before forwarding i
??? example "File -- Prefixing with /foo"
```toml
[Middlewares]
[Middlewares.add-foo.AddPrefix]
[http.middlewares]
[http.middlewares.add-foo.AddPrefix]
prefix = "/foo"
```
@ -23,7 +23,7 @@ The AddPrefix middleware updates the URL Path of the request before forwarding i
a-container:
image: a-container-image
labels:
- "traefik.middlewares.add-bar.addprefix.prefix=/bar"
- "traefik.http.middlewares.add-bar.addprefix.prefix=/bar"
```
## Configuration Options