All Products
Search
Document Center

ApsaraVideo Live:Configure force redirect

Last Updated:Sep 06, 2024

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

  1. Log on to the ApsaraVideo Live console.
  2. In the left-side navigation pane, click Domain Names. The Domain Management page appears.

  3. Find the streaming domain that you want to configure and click Domain Settings in the Actions column.

  4. Choose Streaming Management > HTTPS Settings.

  5. Click Change Settings.

    修改配置

  6. 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.

  7. Click OK.