make the cookie name unique to the backend being served
This commit is contained in:
parent
e007bb7546
commit
a71d69cc3c
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue