New rule syntax
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
parent
7155f0d50d
commit
9ebe3c38b2
89 changed files with 1111 additions and 1357 deletions
|
@ -13,7 +13,7 @@ logLevel = "DEBUG"
|
|||
[Routers]
|
||||
[Routers.router1]
|
||||
Service = "service1"
|
||||
Rule = "PathPrefix:/ws"
|
||||
Rule = "PathPrefix(`/ws`)"
|
||||
|
||||
[Services]
|
||||
[Services.service1]
|
||||
|
|
|
@ -21,7 +21,7 @@ insecureSkipVerify=true
|
|||
[Routers]
|
||||
[Routers.router1]
|
||||
Service = "service1"
|
||||
Rule = "Path:/echo,/ws"
|
||||
Rule = "Path(`/echo`,`/ws`)"
|
||||
|
||||
[Services]
|
||||
[Services.service1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue