Last update:2026-05-08 16:36:56
The Origin Protocol feature gives you flexibility in how your origin communicates with our CDN servers. By default, the CDN will follow the protocol used in the original client request (HTTP or HTTPS). However, Origin Protocol allows you to override this default behavior for enhanced security and efficiency.
.| Parameter | Description | Details |
|---|---|---|
| Origin Protocol | Options include Follow Client, Force HTTPS, and Force HTTP | - Follow Client: Adheres to the end-user’s original request protocol by default. If the end-user redirect protocol rewrite has been configured under Page Rules - Redirects - URL Rewrite, the CDN back-to-origin traffic will comply with the client request protocol as specified by this configuration. - Force HTTPS: Engages the HTTPS protocol for secure connections to the origin server. - Force HTTP: Utilizes the HTTP protocol for connections to the origin server. |
| Port (For Rewrites Only) | Designates the port number for CDN back-to-origin traffic | - Default ports are 80 (HTTP) and 443 (HTTPS). You can customize ports as needed. - The back-to-origin port setting is only applicable to requests matching the rewrite rule. Requests not meeting the rule will default to the port specified in Origin Settings - Host Header and Port settings. - For instance, configuring Force HTTPS with a specified back-to-origin port of 443 means all HTTP requests will revert to the origin using port 443, while HTTPS requests will revert using the port set in Origin Settings - Host Header and Port. |
When configuring the back-to-origin protocol rewrite and port, it’s strongly recommended to keep your Origin Protocol port settings consistent with your ports configured in Host Header and Port to avoid causing back-to-origin anomalies.
Should there be a need for different back-to-origin port configurations, it is crucial to reach out to our technical support for comprehensive testing and professional guidance prior to implementation. This approach ensures a stable and efficient CDN operation, aligning with industry best practices.