I have set up an AWS Fargate cluster with ten WordPress containers behind an AWS Application Load Balancer (ALB).
I tested that my settings work when I have one container. Why can I not log in when I have ten containers?
I have set up an AWS Fargate cluster with ten WordPress containers behind an AWS Application Load Balancer (ALB).
I tested that my settings work when I have one container. Why can I not log in when I have ten containers?
Share Improve this question asked May 27, 2020 at 5:40 James MishraJames Mishra 1011 bronze badge1 Answer
Reset to default 0The issue turned out that the login flow is interrupted because the second HTTP request usually goes to a different container than the container that delivered the wp-login.php
login form.
The solution is to turn on Sticky Sessions for the AWS Application Load Balancer (ALB) Target Group that serves the Fargate containers.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742399027a4436533.html
评论列表(0条)