Documentation Origin Settings HTTP/HTTPS Back to Origin

HTTP/HTTPS Back to Origin

Last update:2026-07-13 18:13:31

The Origin Protocol feature gives you flexibility in how your origin server communicates with CDN edge servers. By default, the CDN follows the protocol used in the original client request, either HTTP or HTTPS. However, Origin Protocol allows you to override this default behavior for improved security and operational flexibility.

How to Configure Origin Protocol

  1. Log in to the Atomile Console and select the appropriate product.
  2. Go to Configuration, locate the domain you want to configure, and click Edit Configuration at the top, or click the Edit button to the right of the domain.
  3. On the Edit Configuration page, find Origin Settings - Origin Protocol, and then click Edit.
  4. Select the desired protocol rewriting option and configure the origin request port as needed.

Parameter Description

Parameter Description Details
Origin Protocol Available options are Follow Clinet, Force HTTPS, and Force HTTP - Follow Client: By default, the CDN uses the same protocol as the end-user request. If end-user redirect protocol rewriting has been configured under Page Rewriting/Redirecting - URL Rewrite, CDN origin requests follow the client request protocol defined by that configuration.
- HTTP->HTTPS: Uses HTTPS for origin requests.
- HTTPS->HTTP: Uses HTTP for origin requests.
Origin Port Specifies the port number used for CDN origin requests - The default ports are 80 for HTTP and 443 for HTTPS. You can customize the port as needed.
- The origin request port setting applies only to requests that match the rewrite rule. Requests that do not match the rule use the port configured in Host Header and Port.
- For example, if Force HTTPS is configured with back-to-origin port 443, all HTTP requests use port 443 when going to origin, while HTTPS requests use the port configured in Host Header and Port.

Notes

  • When configuring origin protocol rewriting and port settings, we strongly recommend keeping the port settings in Origin Protocol consistent with those in Host Header and Port to avoid origin request abnormalities.
  • If you need to use different origin request port settings, contact Atomile technical support for testing and guidance before implementation. This helps ensure stable and efficient CDN operation.