HTTP Headers
HTTP headers are a list of strings sent and received by both the client and server on every Hypertext Transfer Protocol (HTTP) request and response. This section describes HTTP headers supported by HTTP and HTTPS listeners. You can enable these headers as required.
Header |
Description |
---|---|
X-Real-IP |
Rewrites the client IP address in the X-Real-IP header and transfers it to backend servers. |
X-Forwarded-For-Port |
Rewrites the client port in the X-Forwarded-For-Port header and transfers it to backend servers. |
X-Forwarded-Host |
Rewrites the client domain name in the X-Forwarded-Host header and transfers it to backend servers. |
Header |
Description |
---|---|
X-Forwarded-Proto |
Rewrites the listener protocol in the X-Forwarded-Proto header and transfers it to backend servers. |
X-Forwarded-ELB-IP |
Rewrites the EIP used by the load balancer in the X-Forwarded-ELB-IP header and transfers it to backend servers. |
X-Forwarded-Port |
Rewrites the listener port in the X-Forwarded-Port header and transfers it to backend servers. |
X-Forwarded-ELB-ID |
Rewrites the load balancer ID in the X-Forwarded-ELB-ID header and transfers it to backend servers. |

More HTTP headers are coming soon. See the available HTTP headers on the management console.
Adding HTTP Headers
- Go to the load balancer list page.
- You can add a listener in either of the following ways:
- On the displayed page, locate the load balancer and click its name. On the Listeners tab, click Add Listener.
- On the displayed page, locate the load balancer and click Add Listener in the Operation column.
- On the Add Listener page, expand Advanced Settings (Optional) and select the headers as needed.
- Configure the listener as prompted.
- Confirm the configuration and click Submit.
Modifying HTTP Headers
- Go to the load balancer list page.
- On the displayed page, locate the load balancer and click its name.
- Click the Listeners tab, locate the target listener and click Edit in Operation column.
- On the Edit page, expand Advanced Settings (Optional) and select the headers as needed.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot