Tencent Cloud CDN allows you to configure fine-grained origin-pull based on origin-pull rules, such as path-based rules (i.e., specifying a file type, folder, full file path, or homepage for origin-pull) and client IP region-based rules.
Note:
- Origin-pull based on client IP region is in beta. Please stay tuned for the official launch.
- Only primary origin servers support advanced origin-pull. This configuration will inherit the origin type and origin domain settings of the primary origin server, regardless of different types of rules.
Log in to the CDN console, select Domain Management on the left sidebar, click Manage on the right of a domain name to enter its configuration page, and open the Basic Configuration tab to find the Advanced Origin-pull Configuration section.
Add rules for advanced origin-pull as needed. To add one, click Edit in the Primary Origin section and then Advanced Origin-pull Configuration.
Configuration limitations
Note:
- Rules at the bottom of the list have higher priority. The priority is meaningful for the same type of origin-pull rules only, that is, the priority of path-based rules (i.e., specifying a file type, folder, full-path file, or homepage for origin-pull) and the priority of client IP region-based rules are independent.
- If a request matches both rule types, rules will be executed in the order of path-based rules and then the client IP region-based rules.
For example, there are two origin-pull rules: "forwarding the requests initiated by any IP address of Jiangsu to1.1.1.1
" and "forwarding the requests accessing/test
to2.2.2.2
". If a Jiangsu-located IP accesses the directory/test
, the request will be forwarded to2.2.2.2
.
Was this page helpful?