1
0
Fork 0

Correct BoltDB backend. Fixes #68

This commit is contained in:
emile 2015-10-23 18:59:08 +02:00
parent 32bfecff83
commit aaeb7cdffd
6 changed files with 11 additions and 7 deletions

View file

@ -1,7 +1,7 @@
{{$apps := .Applications}}
[backends]{{range .Tasks}}
[backends.backend{{.AppID | replace "/" "-"}}.servers.server-{{.ID | replace "." "-"}}]
url = "{{getProtocole . $apps}}://{{.Host}}:{{getPort .}}"
url = "{{getProtocol . $apps}}://{{.Host}}:{{getPort .}}"
weight = {{getWeight . $apps}}
{{end}}