Updated on 2024-09-20 GMT+08:00

HTTP/2

What Is HTTP/2?

Hypertext Transfer Protocol 2.0 (HTTP/2) uses a binary format for data transmission. It allows for much faster transmission and multiplexing. To reduce latency and improve efficiency, you can enable HTTP/2 when you add HTTPS listeners.

Notes and Constraints

You can enable HTTP/2 only for HTTPS listeners.

Managing HTTP/2

You can enable HTTP/2 when you add an HTTPS listener. You can enable or disable HTTP/2 for an existing HTTPS listener.

To enable HTTP/2 when adding an HTTPS listener, perform the following operations:

  1. Go to the load balancer list page.
  2. Locate the load balancer and click its name.
  3. Under Listeners, click Add Listener.
  4. In the Add Listener dialog box, set Frontend Protocol to HTTPS.
  5. Expand Advanced Settings and enable HTTP/2.
  6. Confirm the configurations and go to the next step.
    Figure 1 Enabling HTTP/2
  1. Go to the load balancer list page.
  2. Locate the load balancer and click its name.
  3. Click Listeners, locate the listener, and click its name.
  4. On the Summary tab, click Edit on the top right.
  5. In the Edit dialog box, expand Advanced Settings and enable or disable HTTP/2.
  6. Click OK.
Figure 2 Disabling or enabling HTTP/2