forked from Ivasoft/traefik
make the cookie name unique to the backend being served
This commit is contained in:
committed by
Ludovic Fernandez
parent
e007bb7546
commit
a71d69cc3c
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user