From 1b5a413f020b72aa53e31c63e513ad1977d0ee46 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 16 Nov 2020 13:04:15 +0100 Subject: [PATCH] Cookie secrets must differ between backends. --- 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 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