Updated on 2024-10-31 GMT+08:00

Why Was My Website Redirected So Many Times?

If you configure your web server to redirect HTTP requests to HTTPS, but configure only one piece of server information with client protocol set to HTTPS and server protocol set to HTTP in WAF, there will be an infinite loop.

You can configure two pieces of server information, one from HTTP (client protocol) to HTTP (server protocol), and the other from HTTPS (client protocol) to HTTPS (server protocol). For details, see Editing Server Information. Figure 1 shows the finished server settings.

Figure 1 Example configuration