Fix sticky sessions Docker/Marathon labels
This commit is contained in:
parent
df225d9170
commit
291c3b6dbc
5 changed files with 64 additions and 72 deletions
|
@ -15,7 +15,11 @@
|
|||
amount = {{getMaxConnAmount . }}
|
||||
extractorfunc = "{{getMaxConnExtractorFunc . }}"
|
||||
{{end}}
|
||||
|
||||
|
||||
[backends.backend-{{getBackend .}}.servers.server-{{.Name | replace "/" "" | replace "." "-"}}]
|
||||
url = "{{getProtocol .}}://{{getIPAddress .}}:{{getPort .}}"
|
||||
weight = {{getWeight .}}
|
||||
{{end}}
|
||||
|
||||
[frontends]{{range $frontend, $containers := .Frontends}}
|
||||
[frontends."frontend-{{$frontend}}"]{{$container := index $containers 0}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue