Correct documentation in middleware overview

This commit is contained in:
Alestrix
2021-12-17 16:24:06 +01:00
committed by GitHub
parent 16250361c3
commit 99ce26f7b1

View File

@@ -84,7 +84,7 @@ labels:
# As TOML Configuration File
[http.routers]
[http.routers.router1]
service = "myService"
service = "service1"
middlewares = ["foo-add-prefix"]
rule = "Host(`example.com`)"
@@ -105,7 +105,7 @@ labels:
http:
routers:
router1:
service: myService
service: service1
middlewares:
- "foo-add-prefix"
rule: "Host(`example.com`)"