This topic describes the steps to enable the back-to-origin with the same protocol feature. When this feature is enabled, back-to-origin requests for resources uses the same protocol that is used by the client to request resources. If the client makes an HTTPS request for resources, but the resources are not cached on the node, the same back-to-origin HTTPS request will be made for resources. This protocol is also applicable for HTTP requests.

Note The origin site must support both the port 80 and port 443, otherwise the back-to-origin may fail.

Procedure

  1. Log on to the CDN console.
  2. In the left-side navigation pane, choose Domain Names. In the main workspace, select a domain, and in the Actions column click Manage.

  3. On the page that is displayed, choose Back-to-Origin from the left-side navigation pane. Then, in the Use the same protocol as the back-to-origin protocol area on the Back-to-origin configuration tab page, enable the function, and click Modify.

  4. Choose your Redirect Type, which can be Follow, HTTPS, or HTTP, and click Confirm.