All Products
Search
Document Center

Edge Security Acceleration:Configure the static origin protocol policy

Last Updated:Sep 21, 2023

Dynamic Content Delivery Network (DCDN) allows you to configure the protocol that is used by points of presence (POPs) to retrieve static resources from origin servers. After you configure the static origin protocol policy, DCDN redirects HTTP requests to the origin server over port 80 or HTTPS requests to the origin server over port 443 based on the protocol that you specify.

Background information

By default, the static origin protocol policy is disabled. Requests are redirected to the origin server over the port that is specified in Basic Settings > Origin Information.

  • If port 443 is used, requests are redirected to the origin server over HTTPS.

  • If port 80 or another port is used, requests are redirected to the origin server over HTTP.

Note

The static origin protocol policy supports only ports 80 and 443. After you enable the static origin protocol policy, the port that is specified in Origin Information becomes invalid. If you want POPs to redirect requests to the origin server over a custom port, submit a ticket.

Procedure

  1. Log on to the DCDN console.
  2. In the left-side navigation pane, click Domain Names.
  3. On the Domain Names page, find the domain name that you want to manage, and click Configure in the Actions column.
  4. In the left-side navigation pane of the domain name, click Origin Fetch.
  5. On the Origin Fetch tab, find Static Origin Protocol Policy.

  6. Turn on Static Origin Protocol Policy.

  7. In the Static Origin Protocol Policy dialog box, set Redirect Type to Match Client, HTTP, or HTTPS.

    4

    Value

    Description

    Match Client

    When a client sends an HTTP or HTTPS request, DCDN redirects the request to the origin server over the protocol that is used by the client. Make sure that ports 443 and 80 are open on the origin server. Otherwise, DCDN may fail to redirect client requests to the origin server.

    Note

    The static origin protocol policy protects data from tampering and leakage during transmission. If you want to transmit sensitive data such as user identity data over HTTPS and other data such as image files over HTTP, we recommend that you set Redirect Type to Match Client.

    HTTP

    DCDN redirects requests to the origin server over HTTP.

    Note

    If you set Redirect Type to HTTP, port 80 is used. If you want to use a custom port, submit a ticket.

    HTTPS

    DCDN redirects requests to the origin server over HTTPS.

    Note
    • HTTPS encryption consumes additional computing resources on the origin server.

    • If you set Redirect Type to HTTPS, port 443 is used. If you want to use a custom port, submit a ticket.

  8. Click OK.