EdgeNext
Documentation home

EdgeNext Documentation

Product guides, setup instructions, and technical references.

Security CDN

Origin Detection

To ensure continuous and stable access to your services, the system supports real-time Origin Detection for multiple configured origin servers,Based on detection results, it performs intelligent origin scheduling.
By periodically checking the connection and response status of each origin, the system can automatically identify unavailable origins and prioritize routing to healthy ones, preventing access failures or interruptions.

Detection Overview

  1. HTTP/HTTPS Detection
    • Detection tasks are generated based on the origin address, port, and protocol configured in the domain’s origin settings.
    • When Detection Method is set to AUTO, the system will use the HEAD method first; if it fails, it falls back to GET.
  2. Detection Frequency:Detection is only performed when traffic is present,If no traffic is observed for 1 hour, detection is suspended.
  3. Failure and Recovery Thresholds
    • If an origin fails consecutively for a defined number of times, it is marked unhealthy.
    • If it succeeds consecutively, it is marked healthy again.
      Note:
  • When TCP Detection is used alongside passive origin health checks:
  • If either method reaches the failure threshold, the origin is marked as unavailable.
  • The origin will only be marked as recovered after both methods succeed.

Configuration Guide

Scenario 1: Global Acceleration Policy

  1. Log in to the Security CDN Console.

  2. Navigate to Speed & CacheAcceleration to open the Global Acceleration Policy page.

  3. Under the Origin section, locate and expand the Origin Detection module.

    源站探测1.png

  4. Click Enable to open the Origin Detection configuration window.

    • Two detection protocols are supported: HTTP/HTTPS Detection and TCP Detection.
      • HTTP/HTTPS Detection

        • Used to verify that the origin returns valid HTTP responses,periodically sends HTTP/HTTPS requests.

        • Supports customization of:

          • Detection method (HEAD/GET)
          • Detection path
          • Frequency

          源站探测2.png

      • TCP Detection

        • Attempts to establish TCP connections with the origin,Determines if the origin is reachable.

        • Supports configuration of:

          • Detection frequency
          • Consecutive failure threshold
          • Consecutive success threshold
          • Connection timeout

          源站探测3.png

  5. Click Save to enable Origin Detection and save the global domain configuration.

Scenario 2: Domain Acceleration Template

  1. Log in to the Security CDN Console.

  2. Navigate to Speed & CacheAcceleration.

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

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

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

  4. In the list of templates, locate the one you want to modify and click Policy Management.

  5. Expand Origin SettingsOrigin Detection, and click Enable to open the configuration window.

    • Supports both HTTP/HTTPS Detection and TCP Detection, with the same configuration options as in the global setup.

    源站探测4.png

  6. Click Save to apply and save the Origin Detection settings for the selected template.

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

Back to documentation home