Tencent Cloud Content Delivery Network offers refined origin-pull configurations to forward origin-pull requests based on path (i.e., specifying a file type, folder, full-path file, or homepage for origin-pull) and client IP region.
Origin-pull based on client IP region is in beta, please stay tuned for the official launch.
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.
You can click Add Rule to add rules as needed.
- In the rule list, a lower rule has the higher priority. Note that if you rearrange a rule in the list, only the priority of rules of the same type are affected.
- 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, when there are two origin-pull rules: "forwarding all requests from Jiangsu province to
18.104.22.168" and "forwarding the requests accessing
22.214.171.124", then if a request from Jiangsu wants to access the directory
/test, the request will be forwarded to