Closed LuckySB closed 3 years ago
This does not work when we set multiple serverAlias: nginx.ingress.kubernetes.io/server-alias: test1.sprinklr.com test.sprinklr.com
but works if just one serveralias is set : nginx.ingress.kubernetes.io/server-alias: test1.sprinklr.com
@nic-6443 will need your help to overcome this issue
our main motive is to reduce nginx.conf size.
NGINX Ingress controller version: v0.34.1 Kubernetes version (use
kubectl version
): v1.17.7Environment:
uname -a
): 3.10.0-1127.19.1.el7.x86_64What happened:
Sticky session not set for alias server name
What you expected to happen:
curl -v -I www.prod.local
returnSet-Cookie: INGRESSCOOKIE=16501c11643a3884bfafcb3576381442;
header butcurl -v -I my-alias.prod.local
return answer withoutSet-Cookie
Session cookie should return for requests to server-alias name.