Merge pull request #137 from dylanmei/marathon_route_names_with_slashes

Marathon tmpl converts slashes in Marathon app names to dashes
This commit is contained in:
Vincent Demeester 2015-12-07 22:12:45 +01:00
commit 866e8db5f7

View file

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