You can configure origin rules to specify different origin hosts, ports, protocols, Server Name Indications (SNI) settings, Domain Name System (DNS) records, and use range header for requests with different characteristics.
Feature introduction
You can configure origin rules for requests that match different custom filter expressions.
Feature | Description |
By default, the domain name in a client request is used as the Host request header when ESA requests resources from the origin server. If you configure an origin domain that is different from the requested domain name, you need to modify the origin host to ensure that origin fetch requests go to the correct origin. | |
By default, ESA POPs retrieve content from origin servers over HTTP. You can create origin rules to configure different protocols and ports, and apply the rules to origin requests that have different characteristics. | |
If multiple websites are hosted on a single server with the same IP address, you must specify the SNI (Server Name Indication) when POPs retrieve content from the origin server over HTTPS. The origin server returns the Secure Sockets Layer (SSL) certificate of the desired domain name based on the configured SNI to ensure the correct resources are returned. | |
If you specify a Uniform Resource Identifier (URI) but the requested resources are stored on different origin servers, you can create a DNS rule to replace the DNS record resolved from the hostname in the request. This ensures that the request is routed to the correct server to obtain the desired resources. | |
Range request refers to the origin request that includes range information. When the origin server receives a range request, it returns the specified range of content to ESA POP based on the range information in the HTTP request header. Range requests can improve file distribution efficiency, increase cache hit ratio, reduce origin traffic, and enhance resource response speed. |
Feature availability
Entrance | Pro | Premium | Enterprise | |
Number of rules | 10 | 25 | 50 | 125 |
Yes | Yes | Yes | Yes | |
No | Yes | Yes | Yes | |
No | No | Yes | Yes | |
No | No | No | Yes | |
Yes | Yes | Yes | Yes |