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