Merge pull request #297 from containous/emilevauge-fix-period-frontend-kvstore

Fix period in frontend name in KV store
This commit is contained in:
Emile Vauge 2016-04-13 13:25:52 +02:00
commit 94ad21020c

View file

@ -27,7 +27,7 @@
[frontends]{{range $frontends}} [frontends]{{range $frontends}}
{{$frontend := Last .}} {{$frontend := Last .}}
{{$entryPoints := SplitGet . "/entrypoints"}} {{$entryPoints := SplitGet . "/entrypoints"}}
[frontends.{{$frontend}}] [frontends."{{$frontend}}"]
backend = "{{Get "" . "/backend"}}" backend = "{{Get "" . "/backend"}}"
passHostHeader = {{Get "false" . "/passHostHeader"}} passHostHeader = {{Get "false" . "/passHostHeader"}}
entryPoints = [{{range $entryPoints}} entryPoints = [{{range $entryPoints}}
@ -35,7 +35,7 @@
{{end}}] {{end}}]
{{$routes := List . "/routes/"}} {{$routes := List . "/routes/"}}
{{range $routes}} {{range $routes}}
[frontends.{{$frontend}}.routes.{{Last .}}] [frontends."{{$frontend}}".routes."{{Last .}}"]
rule = "{{Get "" . "/rule"}}" rule = "{{Get "" . "/rule"}}"
{{end}} {{end}}
{{end}} {{end}}