I'm trying to find a way to stop a host header attack from happening on my ALB. My load balancer takes care of redirecting port 80 to 443 and that is where the attack is possible. Right now the only way I can see of doing it is adding each of my domains in manually and then having the default rule be a 503. Instead of the default rule redirecting whatever the host is to 443. However, I have a lot of domains and it seems like there should be an easier way to do this.
Can anyone think of a way to protect against host header manipulation in ALB?