Use the Origin Pull Protocol option to set the protocol which CDN servers will use to pull content from an origin server: HTTP, HTTPS or HTTP and HTTPS.
Select the Origin pull protocol, depending on which protocol the origin server uses to send the content.
https://cdn.example.com/image.jpg
, a CDN server delivers content from the origin through HTTPS (443 port).http://cdn.example.com/image.jpg
, a CDN server delivers content from the origin through HTTP (80 port).To show the logic of the Origin Pull Protocol option and what will happen if an incorrect value is set, consider an example:
Your origin server only delivers content through HTTPS (port 443), but in the Origin Pull Protocol option HTTP protocol (80 port) is specified.
Depending on whether a redirection is configured on the origin server or not, the client will receive or not receive content.
1. Origin redirects from HTTP to HTTPS
Conclusion: the user gets the content from the origin, not from the CDN. Choose the HTTPS value to have your content delivered through a CDN.
2. Origin does not redirect from HTTP to HTTPS
Conclusion: the origin cannot provide any content because it can take content only at https://example.com/image.jpg. Choose the HTTPS value to have your content delivered through a CDN.
Here you can specify an origin that CDN uses to pull the content from.
The origin can be the IP address or your site domain.
If you want to change the current origin, click Edit the group.
You can also add an origin group by clicking Add group.
Note: When you add an origin group from the resource settings, it is not automatically assigned to the resource. It should be manually selected from the list.
Read more about how to edit and add origin groups.
Was this article helpful?
Learn more about our next-gen CDN