diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 040409c..14c3957 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -177,7 +177,7 @@ backend {{ srv.acl_name }}_bck {% endif %} {% if srv.stick_sessions %} {% if srv.stick_on_cookie %} - dynamic-cookie-key MYKEY + dynamic-cookie-key {{ srv.acl_name }} cookie {{ srv.stick_cookie }} dynamic {% else %} stick on src