title: AWS ELB not populating x-forwarded-for header
body: <p>We are using Amazon Elastic Load Balancer and have 2 apache servers behind it.
  However, we are not able to get the X-Forwarded-Headers on the application side</p>
  
  <p>I read a similar post, but could not find a solution to it </p>
  
  <p><a href="https://stackoverflow.com/questions/19049320/amazon-elastic-load-balancer-is-not-populating-x-forwarded-proto-header">Amazon Elastic load balancer is not populating x-forwarded-proto header</a></p>
  
  <p>This is how ELB listeners are configured </p>
  
  <pre><code>HTTP 80  HTTP   80  N/A N/A
  TCP  443 TCP    443 N/A N/A
  </code></pre>
  
  <p>Should changing the 443 port to HTTPS(Secure HTTP) instead of TCP populate the headers
  Other options are SSl(Secure TCP)</p>
  
  <p>If this works, I would also like to know why and what makes the difference</p>