New rule syntax

Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
SALLEYRON Julien
2019-01-30 16:24:07 +01:00
committed by Traefiker Bot
parent 7155f0d50d
commit 9ebe3c38b2
89 changed files with 1111 additions and 1357 deletions
@@ -16,10 +16,10 @@ logLevel = "DEBUG"
[Routers]
[Routers.router1]
Service = "service1"
rule = "HostRegexp: {subdomain:[a-z1-9-]+}.snitest.com"
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.snitest.com`)"
[Routers.router2]
Service = "service1"
rule = "HostRegexp: {subdomain:[a-z1-9-]+}.www.snitest.com"
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.www.snitest.com`)"
[Services]
[Services.service1]