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.
Сontent available through one protocol
For example,
- Сontent is available through HTTPS (443 port)
- Pull protocol is set to HTTP (80 port)
Origin redirects from HTTP to HTTPS
How it works
- A user requests content from a CDN at http://cdn.example.com/image.jpg.
- The CDN pulls from an origin source at http://example.com/image.jpg.
- The origin redirects to https://example.com/image.jpg.
- The user gets the content from the origin, not from the CDN.
Choose the HTTPS mode to have your content delivered through a CDN. If your content is available though HTTP, choose the HTTP mode.
No redirection at the origin
How it works
- A user requests content from a CDN at http://cdn.example.com/image.jpg.
- The CDN pulls from an origin source at http://example.com/image.jpg.
- The origin cannot provide any content because it can take content only at https://example.com/image.jpg.
Choose the HTTPS mode to have your content delivered through a CDN. If your content is available only through HTTP, choose the HTTP mode.
The origin source delivers content via both HTTP and HTTPS
Choose the "HTTP and HTTPS" mode. It means that a CDN server will use the protocol depending on the client’s request.
- When the user sends a request to https://cdn.example.com/image.jpg, a CDN node delivers content from the origin through HTTPS (443 port)
- When the user sends a request to http://cdn.example.com/image.jpg, a CDN node delivers content from the origin through HTTP (80 port)