1
0
Fork 0

Add passHostHeader in frontend configuration, added traefik.frontend.passHostHeader label

This commit is contained in:
emile 2015-10-30 11:33:41 +01:00
parent aae7941689
commit 1e99ecf583
9 changed files with 28 additions and 3 deletions

View file

@ -8,6 +8,7 @@
[frontends]{{range .Applications}}
[frontends.frontend{{.ID | replace "/" "-"}}]
backend = "backend{{.ID | replace "/" "-"}}"
passHostHeader = {{getPassHostHeader .}}
[frontends.frontend-{{.ID | replace "/" ""}}.routes.route-host-{{.ID | replace "/" ""}}]
rule = "{{getFrontendRule .}}"
value = "{{getFrontendValue .}}"