Do HTTP and HTTP Listeners Support the X-Forwarded-Host Header?
Yes. Table 1 describes the HTTP header fields supported by HTTP and HTTP Listeners.
Field |
Description |
---|---|
X-Forwarded-ELB-IP |
The EIP bound to the load balancer is transmitted to backend servers through the HTTP header. |
X-Forwarded-Host |
The Host field in the request from the client is placed in X-Forwarded-Host and sent to backend servers. |
X-Forwarded-Port |
The protocol used by the listener is transmitted to backend servers through the HTTP header. |
X-Forwarded-Proto |
The protocol type (HTTP or HTTPS) of the request is transmitted to backend servers through the HTTP header. |
X-Forwarded-For |
Source IP addresses and proxy IP addresses of the clients are transmitted to backend servers through the HTTP header. |
X-Real-IP |
Source IP addresses of the clients are transmitted to backend servers through the HTTP header. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.