Set specific domain for ALB stickiness cookie

0

I need to set the domain attribute for the ALB stickiness cookie so that session stickiness behaves the same across two subdomains. For example, for the domains foo.example.com and bar.example.com, I'd want the stickiness cookies to have domain=.example.com. However, I don't see any way to configure that for load-balancer-generated cookies. I also tried using an application cookie that has its domain set in the hope that the ALB would propagate the domain to the AWSALBAPP-* cookies, but that doesn't work either.

已提問 6 個月前檢視次數 63 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南