1
0
mirror of https://github.com/containous/traefik.git synced 2025-03-19 18:50:12 +03:00

make the cookie name unique to the backend being served

This commit is contained in:
Richard Quintin 2017-06-07 11:04:06 -04:00 committed by Ludovic Fernandez
parent e007bb7546
commit a71d69cc3c

View File

@ -641,7 +641,7 @@ func (server *Server) loadConfig(configurations configs, globalConfiguration Glo
}
stickysession := configuration.Backends[frontend.Backend].LoadBalancer.Sticky
cookiename := "_TRAEFIK_BACKEND"
cookiename := "_TRAEFIK_BACKEND_" + frontend.Backend
var sticky *roundrobin.StickySession
if stickysession {