Add GetBool function in KV provider, used by passHostHeader
This commit is contained in:
parent
c8a0a83e2b
commit
6e62625ebf
3 changed files with 72 additions and 5 deletions
|
@ -28,7 +28,7 @@
|
|||
{{$frontend := Last .}}
|
||||
[frontends.{{$frontend}}]
|
||||
backend = "{{Get . "/backend"}}"
|
||||
passHostHeader = "{{Get . "/passHostHeader"}}"
|
||||
passHostHeader = "{{GetBool . "/passHostHeader"}}"
|
||||
{{$routes := List . "/routes/"}}
|
||||
{{range $routes}}
|
||||
[frontends.{{$frontend}}.routes.{{Last .}}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue