Fix period in frontend name in KV store
This commit is contained in:
parent
fad7ec6b7f
commit
4b76cb4318
1 changed files with 2 additions and 2 deletions
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue