docker-nginx-loadbalancer
docker-nginx-loadbalancer copied to clipboard
Adding jsessionid in a sticky learn directive
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.