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
|
@ -17,10 +17,10 @@ logLevel = "DEBUG"
|
|||
[Routers]
|
||||
[Routers.router1]
|
||||
Service = "service1"
|
||||
Rule = "Host:snitest.com"
|
||||
Rule = "Host(`snitest.com`)"
|
||||
[Routers.router2]
|
||||
Service = "service2"
|
||||
Rule = "Host:snitest.org"
|
||||
Rule = "Host(`snitest.org`)"
|
||||
|
||||
[Services]
|
||||
[Services.service1]
|
||||
|
|
|
@ -16,10 +16,10 @@ logLevel = "DEBUG"
|
|||
[Routers]
|
||||
[Routers.router1]
|
||||
Service = "service1"
|
||||
Rule = "Host:snitest.com"
|
||||
Rule = "Host(`snitest.com`)"
|
||||
[Routers.router2]
|
||||
Service = "service2"
|
||||
Rule = "Host:snitest.org"
|
||||
Rule = "Host(`snitest.org`)"
|
||||
|
||||
[Services]
|
||||
[Services.service1]
|
||||
|
|
|
@ -18,10 +18,10 @@ logLevel = "DEBUG"
|
|||
[Routers]
|
||||
[Routers.router1]
|
||||
Service = "service1"
|
||||
Rule = "Host:snitest.com"
|
||||
Rule = "Host(`snitest.com`)"
|
||||
[Routers.router2]
|
||||
Service = "service2"
|
||||
Rule = "Host:snitest.org"
|
||||
Rule = "Host(`snitest.org`)"
|
||||
|
||||
[Services]
|
||||
[Services.service1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue