When a client requests a resource that is not cached on a Content Delivery Network (CDN) node, the node fetches the resource from the origin server and then caches it. The protocol for the origin fetch matches the protocol of the client request. For example, if a client requests a resource over HTTPS, the node also uses HTTPS to fetch the resource from the origin. The same rule applies to HTTP requests.
Procedure
The origin server must support both port 80 and port 443. Otherwise, the origin fetch may fail.
Log on to the ApsaraVideo VOD console.
In the navigation pane on the left, under Configuration Management, click CDN Configuration > Domain Names.
Find the domain name that you want to configure and click Configure.
Click the Back-to-Origin tab and enable Use Request Protocol for Back-to-Source.
NoteThe Use Request Protocol for Back-to-Source feature ensures that the protocol used for origin fetch is the same as the protocol that the client uses to access the resource. This feature applies to both dynamic and static acceleration.