EdgeNext
Documentation home

EdgeNext Documentation

Product guides, setup instructions, and technical references.

Security CDN

Follow 301_302 Redirects from Origin

When using Security CDN (SCDN) for content acceleration, it is common for the origin server to return 301 (Permanent Redirect) or 302 (Temporary Redirect) responses.
By default, SCDN edge nodes do not follow these redirects. Instead, they pass the redirect response directly to the client.

With the Follow 301/302 Redirects setting, you can control whether SCDN should follow the redirect by initiating a new origin request to the redirected URL and retrieving the final resource.


Configuration Details

Setting Description
Enable Follow 301/302 Redirects Disabled (default): SCDN returns the origin’s 301/302 response directly to the client.
Enabled: SCDN automatically detects 301/302 responses from the origin, extracts the target URL, and issues a new origin request.
Max Redirect Attempts Fixed at 3. Cannot be modified by users. If the redirect chain exceeds 3 attempts, the final redirect response is returned without further action.
Supported Redirect Types Only 301 (Permanent Redirect) and 302 (Temporary Redirect) are supported.

Configuration Guide

  1. Log in to the Security CDN Console.

  2. In the left navigation pane, go to Speed & CacheAcceleration.

    速度与网络全局配置1.png

  3. Click **Domain Acceleration Template **at the top to switch to the template management page.

    速度与网络模板配置1.png

  4. In the template list, locate the template you wish to modify and click Policy Management.

  5. On the policy configuration page, find the Origin ConfigurationFollow 301/302 Redirects from Origin module.

  6. Toggle the switch to ON, and a confirmation dialog will appear. Click OK to save the configuration.

    回源跟随301302跳转2.png

Need help? Contact our support team at support@edgenext.com.

Back to documentation home