Updated on 2025-01-17 GMT+08:00

Enabling the HTTP/2 Protocol

If your website is accessible over the HTTP/2 protocol, enable HTTP/2 in WAF. The HTTP/2 protocol can be used only for access between the client and WAF on the condition that at least one origin server has HTTPS used for Client Protocol.

Prerequisites

You have added the website to WAF and selected HTTPS for Client Protocol.

Constraints

  • The Cloud Mode - CNAME mode is used when you connect the website to WAF. Only professional and platinum editions support HTTP/2.
  • For details about the regions that support HTTP/2, see Functions.

Enabling the HTTP/2 Protocol

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Web Application Firewall under Security & Compliance.
  4. In the navigation pane, choose Website Settings.
  5. In the Domain Name column, click the domain name of the website to go to the basic information page.
  6. In the HTTP/2 Used row, click Modify. Then, select Yes and click OK.