Add passHostHeader to frontend definition.

This commit is contained in:
Benny Hansson 2015-11-16 22:51:52 +01:00
parent 400655f212
commit e90cb6b53b

View file

@ -28,6 +28,7 @@
{{$frontend := Last .}} {{$frontend := Last .}}
[frontends.{{$frontend}}] [frontends.{{$frontend}}]
backend = "{{Get . "/backend"}}" backend = "{{Get . "/backend"}}"
passHostHeader = "{{Get . "/passHostHeader"}}"
{{$routes := List . "/routes/"}} {{$routes := List . "/routes/"}}
{{range $routes}} {{range $routes}}
[frontends.{{$frontend}}.routes.{{Last .}}] [frontends.{{$frontend}}.routes.{{Last .}}]