Help Center> Web Application Firewall> Troubleshooting> Troubleshooting Website Connection Exceptions> Why Does the Requested Page Respond Slowly After a Forwarding Policy Is Configured for My Website?
Updated on 2024-07-12 GMT+08:00

Why Does the Requested Page Respond Slowly After a Forwarding Policy Is Configured for My Website?

You may have configured forcible redirection from HTTP to HTTPS at the backend of the server but enabled only forwarding from HTTPS (client protocol) to HTTP (origin server protocol) on WAF. This makes WAF redirects requests, which leads to an infinite loop. To address this issue, add HTTP-to-HTTP and HTTPS-to-HTTPS forwarding rules. The procedure is as follows:

  1. Log in to the WAF console.
  2. In the navigation pane on the left, choose Website Settings.
  3. In the Origin Servers area, click Edit.
  4. On the Edit Server Information page, add two forwarding rules, one for HTTP to HTTP and the other for HTTPS to HTTPS.

    Figure 1 Example configuration

For details about how to configure a forwarding rule, see Why Is My Website Redirected Too Many Times?