Updated on 2024-04-19 GMT+08:00

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

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balance.
  4. Locate the load balancer and click its name.
  5. Under Listeners, click Add Listener.
  6. In the Add Listener dialog box, set Frontend Protocol to HTTPS.
  7. Expand Advanced Settings and enable HTTP/2.
  8. Confirm the configurations and click Submit.

Enabling or Disabling HTTP/2 When Modifying a Listener

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balance.
  4. Locate the load balancer and click its name.
  5. Click Listeners, locate the listener, and click its name.
  6. On the Summary tab page, click Edit on the top right.
  7. In the Edit dialog box, expand Advanced Settings and enable or disable HTTP/2.
  8. Click OK.