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>
5.2 KiB
5.2 KiB
HTTP/2
Scenarios
Hypertext Transfer Protocol 2.0 (HTTP/2) is the next-generation HTTP protocol. HTTP/2 is used to secure connections between the load balancer and clients. You can enable HTTP/2 when you add HTTPS listeners. If you have already added an HTTPS listener, you can also enable this function.
Constraints
You can enable HTTP/2 only for HTTPS listeners.
Enabling HTTP/2 When Adding a Listener
- 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, set Frontend Protocol to HTTPS.
- Expand Advanced Settings and enable HTTP/2.
- Walk through the steps, set relevant parameters and in the end click Submit.
Enabling or Disabling HTTP/2 When Modifying a Listener
- 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.
- Click Listeners, locate the listener, click
next to the listener name, and select Modify Listener.
- In the Modify Listener dialog box, expand Advanced Settings and enable or disable HTTP/2.
- Confirm the parameters, and click Next.
- Click Finish.
- Click OK.
Parent topic: Advanced Features of HTTP/HTTPS Listeners