The force redirect feature allows you to redirect the original requests from a client to Alibaba Cloud points of presence (POPs) as HTTP or HTTPS requests. This topic describes how to configure force redirect.
Prerequisites
An HTTPS certificate is configured. For more information, see Enable HTTPS secure acceleration.
Feature description
If you have enabled HTTPS secure acceleration for your domain name, you can forcibly redirect the original requests from users based on the specified redirect type.
Assume that you set the redirect type to HTTP > HTTPS. When a client initiates an HTTP request, the server returns a 301 response to redirect the request to the HTTPS version of the web page, as shown in the following figure.
Procedure
- Log on to the ApsaraVideo Live console.
In the left-side navigation pane, click Domain Names. The Domain Management page appears.
Find the streaming domain that you want to configure and click Domain Settings in the Actions column.
Choose .
Click Change Settings.
Specify Redirect Type.
Redirect type
Description
Default
Both HTTP and HTTPS requests are supported.
HTTPS > HTTP
The requests from a client to POPs are forcibly redirected as HTTP requests.
HTTP > HTTPS
The requests from a client to POPs are forcibly redirected as HTTPS requests to ensure access security.
Click OK.