Function

  • When HTTPS secure acceleration is enabled for your CDN domain, you can customize the settings to forcibly redirect users’ requests.
  • For example, when Force HTTPS Redirect is enabled and the user initiates an HTTP request, the server returns a 302 redirect response. The original HTTP request is then forcibly redirected to an HTTPS request, as shown in the following figure:

Force Redirect is disabled by default. If it is enabled, both HTTP and HTTPS requests are supported by default.

Options: Default, force HTTPS redirect, and force HTTP redirect.
  • Force HTTPS redirect: Redirects all user requests to HTTPS.
  • Force HTTP redirect: Redirects all user requests to HTTP.
Note
You can configure force redirect only when HTTPS secure acceleration is enabled. Both HTTP and HTTPS requests are supported.

Procedure

  1. Go to the Domain Names page, select the target domain name, and click Configure.
  2. Choose HTTPS Acceleration > Force Redirect and configure the settings.
    Force redirect