I'd like the applications running on EC2 instances to know which url the original request came from. Is this possible with an Elastic Loadbalancer?

I'm assuming passing the hostname through would be possible but I can't find the configuration options anywhere.


The requested hostname is included in the Host: header.

Elastic Load Balancer will forward all headers on to the underlying EC2 instances. There is no configuration to allow or disallow headers.

CloudFront configuration allows you to blacklist and whitelist headers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.