I have a configuration in my Elastic Beanstalk where the maximum number of instances can be "3" and minimum is 1.
When the website is running with just one ec2 instance, it loads without any issues. When the website receives traffic and it scale up to more than 1 instance, then the website gets into an infinite refresh loop. I had some testing and this happens irrespective of the underlying code in the website. There is no issue with browser cache , extensions or adblocker as well.
Just FYI, There's an http -> https
redirection present in ELB configuration and I don't see an issue there. Because it works well when there's only one instance. Can someone tell me what could be going wrong here?