Correct documentation in middleware overview
This commit is contained in:
parent
16250361c3
commit
99ce26f7b1
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ labels:
|
||||||
# As TOML Configuration File
|
# As TOML Configuration File
|
||||||
[http.routers]
|
[http.routers]
|
||||||
[http.routers.router1]
|
[http.routers.router1]
|
||||||
service = "myService"
|
service = "service1"
|
||||||
middlewares = ["foo-add-prefix"]
|
middlewares = ["foo-add-prefix"]
|
||||||
rule = "Host(`example.com`)"
|
rule = "Host(`example.com`)"
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ labels:
|
||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
router1:
|
router1:
|
||||||
service: myService
|
service: service1
|
||||||
middlewares:
|
middlewares:
|
||||||
- "foo-add-prefix"
|
- "foo-add-prefix"
|
||||||
rule: "Host(`example.com`)"
|
rule: "Host(`example.com`)"
|
||||||
|
|
Loading…
Reference in a new issue