forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: zhoumeng <zhoumeng35@huawei.com> Co-committed-by: zhoumeng <zhoumeng35@huawei.com>
4.8 KiB
4.8 KiB
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 Balancing. - 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.
- Click OK.
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 Balancing. - Locate the load balancer and click its name.
- On the Listeners tab page, locate the listener, click
next to the listener name, and select Modify Listener. - In the Modify Listener dialog box, expand Advanced Settings and disable the function.
Parent topic: Advanced Features of HTTP/HTTPS Listeners
