Create a template
Configure the file paths, origin pull protocol, and any additional options to define a reusable rule template. 1. In the CDN resource settings, open the Rules tab, navigate to the Templates section and click Create template.

^/ or /. URLs and regular expressions are both supported.
4. Select the protocol that the CDN resource will use to pull the files specified at Step 3. If files are accessible over the same protocol as an origin, select Inherit from resource. If not, select the appropriate option: HTTP, HTTPS or both protocols at once.
5. (Optional) View the list of additional options and configure the necessary ones.
6. Click Create template.
Use a system template
System templates are built-in presets covering common CDN use cases. They are labeled System in the Templates section.
Create a rule from a template
Applying a template pre-fills the rule form with saved settings, so only final adjustments are needed before saving. 1. Open the settings of the required CDN resource. In the Rules tab, click Create rule and select a template from the list.
