Help Center> Elastic Load Balance> User Guide (Paris Region) > FAQ> Listeners> What HTTP Headers Can I Configure for an HTTP and HTTP Listener?
Updated on 2023-11-25 GMT+08:00

What HTTP Headers Can I Configure for an HTTP and HTTP Listener?

Table 1 describes the HTTP headers supported by HTTP and HTTP Listeners.

Table 1 Supported headers

Headers

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.