You can use the forcible redirect feature to redirect the original requests from a client to edge nodes as HTTP or HTTPS requests. This topic describes how to configure the forcible redirect feature.
If you have enabled HTTPS secure acceleration for domain names for CDN, you can forcibly redirect the original requests from clients by customizing the redirect type.
Assume that you set the Redirect Type parameter 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. The following figure shows an example.
- Log on to the ApsaraVideo Live console.
- In the left-side navigation pane, click Domains to go to the Domain Management page.
- Find the streaming domain that you want to configure and click Domain Settings.
- Choose .
- Click Change Settings.
- Set the Redirect Type parameter.
Redirect type Description Default Both HTTP and HTTPS requests are supported. HTTPS > HTTP The requests from a client to edge nodes are forcibly redirected as HTTP requests. HTTP > HTTPS The requests from a client to edge nodes are forcibly redirected as HTTPS requests to ensure access security.
- Click OK.