Transferring the Load Balancer EIP to Backend Servers
Scenarios
ELB allows the EIPs of the load balancers to be passed 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 header in the format of XX.XXX.XX.XXX, as shown below:
X-Forwarded-ELB-IP: XX.XXX.XX.XXX
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.
- Hover on in the upper left corner to display Service List and choose Network > 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.
- Confirm the configurations and click Submit.
This function can be enabled only for HTTPS or HTTP listeners.
Disabling the Function
- Log in to the management console.
- In the upper left corner of the page, click and select the desired region and project.
- Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balance.
- Locate the load balancer and click its name.
- Click Listeners, locate the listener, and click its name.
- On the Summary tab page, click Edit on the top right.
- In the Edit dialog box, expand Advanced Settings and disable the function.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.