Fix a variable inside the haproxy configuration template
This commit is contained in:
parent
df37f5f5b2
commit
37f5d86f2d
|
@ -118,5 +118,5 @@ backend portainer_bck
|
||||||
option httpchk GET / HTTP/1.1\r\nHost:\ localhost
|
option httpchk GET / HTTP/1.1\r\nHost:\ localhost
|
||||||
http-check expect rstatus (2|3)[0-9][0-9]
|
http-check expect rstatus (2|3)[0-9][0-9]
|
||||||
balance roundrobin
|
balance roundrobin
|
||||||
server-template {{ srv.service }}- {{ srv.service_replica_num }} {{ srv.service }}:{{ srv.service_port }} check resolvers docker init-addr libc,none
|
server-template {{ srv.service_name }}- {{ srv.service_replica_num }} {{ srv.service_name }}:{{ srv.service_port }} check resolvers docker init-addr libc,none
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue