Obtaining the Load Balancer EIP
Scenarios
This function allows the load balancers to pass their EIPs to backend servers. You can enable the function when you add HTTPS or HTTP listeners.
Load balancer EIPs are placed in the X-Forwarded-ELB-IP field in the HTTPS or HTTP request header in the format of XX.XXX.XX.XXX, as shown below:
X-Forwarded-ELB-IP: XX.XXX.XX.XXX
Classic load balancers do not support this function.
Enabling the Function
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click Service List. Under Network, click Elastic Load Balance.
- Locate the load balancer and click its name.
- Under Listeners, click Add Listener.
- In the Add Listener dialog box, expand Advanced Settings and enable the function for obtaining the load balancer EIP.
- Click OK.
This function can be enabled only for HTTPS or HTTP listeners.
Modifying the Function
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click Service List. Under Network, click Elastic Load Balance.
- Locate the load balancer and click its name.
- Click Listeners, locate the listener, and click
on the right of its name. - In the Modify Listener dialog box, expand Advanced Settings and disable the function for obtaining the load balancer EIP.
- Click OK.
Last Article: HTTP Redirection to HTTPS
Next Article: Security Policy
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.