Change cookie name to match documentation

This commit is contained in:
Owen Marshall 2016-08-11 12:22:37 -04:00 committed by Emile Vauge
parent 592e981bd2
commit df225d9170
No known key found for this signature in database
GPG key ID: D808B4C167352E59

View file

@ -551,7 +551,7 @@ func (server *Server) loadConfig(configurations configs, globalConfiguration Glo
if stickysession { if stickysession {
sticky = roundrobin.NewStickySession(cookiename) sticky = roundrobin.NewStickySession(cookiename)
cookiename = "_TRAEFIK_SERVERNAME" cookiename = "_TRAEFIK_BACKEND"
} }
switch lbMethod { switch lbMethod {