Updated on 2025-08-19 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

  • This function is supported only when you use cloud mode - CNAME access and Professional or Enterprise edition.
  • HTTP/2 is automatically enabled for dedicated WAF instances provisioned in May 2023 and later.
  • For details about the regions that support HTTP/2, see Functions.

Enabling the HTTP/2 Protocol

  1. Log in to the WAF console.
  2. Click in the upper left corner and select a region or project.
  3. (Optional) If you have enabled the enterprise project function, in the upper part of the navigation pane on the left, select your enterprise project from the Filter by enterprise project drop-down list. Then, WAF will display the related security data in the enterprise project on the page.
  4. In the navigation pane on the left, click Website Settings.
  5. On the Website Settings page, click the target website domain name.
  6. In the HTTP/2 Used row, click Modify. Then, select Yes and click OK.

    If the configuration works, HTTP/2 access to the website will be supported.