From 37f5d86f2d4a43fdb2050afa0ea74dbe41639dfb Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 1 Oct 2020 18:08:37 +0200 Subject: [PATCH] Fix a variable inside the haproxy configuration template --- templates/haproxy.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 1f4c2c2..5fca054 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -118,5 +118,5 @@ backend portainer_bck option httpchk GET / HTTP/1.1\r\nHost:\ localhost http-check expect rstatus (2|3)[0-9][0-9] 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 %}