Help Center/ Elastic Load Balance/ FAQs/ Listeners/ What HTTP Headers Can I Configure for a Layer 7 Listener?
Updated on 2026-07-09 GMT+08:00

What HTTP Headers Can I Configure for a Layer 7 Listener?

Table 1 describes the HTTP headers supported by Layer 7 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.