Re: About cookie sticky

2021-03-24 Thread Zexuan Luo
PR is welcome. You can refer to the sticky implementation of ingress-nginx https://github.com/kubernetes/ingress-nginx/tree/master/rootfs/etc/nginx/lua/balancer 15717900 <15717...@qq.com> 于2021年3月24日周三 上午11:21写道: > > hello, > > >      The current solution is to set hash_on is > vars_combinations

About cookie sticky

2021-03-23 Thread 15717900
hello,      The current solution is to set hash_on is vars_combinations and choose $remote_ Addr and a value in the cookie to simulate cookie sticky, but in the VPN scenario, because the remote_addr is the same, this way will lead to load imbalance, and there is no other way to achieve cookie