Fix period in frontend name in KV store

This commit is contained in:
Emile Vauge 2016-04-12 09:49:37 +02:00
parent fad7ec6b7f
commit 4b76cb4318
No known key found for this signature in database
GPG key ID: D808B4C167352E59

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}}