ssl - Redirect loop when forcing HTTPS - Server Fault
serverfault.com › questions › 677560Mar 23, 2015 · Thanks to HBruijn's comment, I understood why I was getting the redirect loop. The traffic from the ELB will always be HTTP as it handles the HTTPS traffic to the user but to the server it's HTTP, so my previous rule will result in a loop. After some research I found that the load balancer forwards a few userful headers like X-Forwarded-Proto ...