docker-nginx-loadbalancer icon indicating copy to clipboard operation
docker-nginx-loadbalancer copied to clipboard

Adding jsessionid in a sticky learn directive

Open mlaro opened this issue 7 years ago • 0 comments

Hi,

I need to have sticky sessions and was hoping to use the following.

upstream tomcat { server lca2:8080; server lca3:8080; server lca1:8080; sticky learn create=$upstream_cookie_JSESSIONID lookup=$cookie_JSESSIONID zone=client_sessions:1m; }

However I can't seem to figure out how to add that in the env file.

mlaro avatar Feb 16 '18 20:02 mlaro