Skip to content

Commit

Permalink
Merge pull request #484 from IliaSysoevQA/patch-2
Browse files Browse the repository at this point in the history
Update create-a-rule-manually-or-from-a-template-to-configure-setting…
  • Loading branch information
dashlot authored Oct 20, 2023
2 parents af85d98 + 24af2c8 commit d73e2fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ A new page will open. Follow the remaining steps on that page.

2\. Enter the rule name.

3\. Specify the path to the file or folder for which the rule will be applied. The path muststart with “**^/**” or “**/**” and cannot contain the domain name of your origin. You can specify a URI or use <a href="https://en.wikipedia.org/wiki/Regular_expression" target="_blank">regular expressions (regex)</a>.
3\. Specify the path to the file or folder for which the rule will be applied. The path must start with “**^/**” or “**/**” and cannot contain the domain name of your origin. You can specify a URI or use <a href="https://en.wikipedia.org/wiki/Regular_expression" target="_blank">regular expressions (regex)</a>.

**Note**: If a URI matches multiple rules, the one higher in the order of the rules will be applied. For example, there are two rules on the resource: ```/folder/.*``` (the first rule) and ```/folder/image.jpg``` (the second rule). The first rule will be applied to the ```/folder/image file.jpg``` file.

Expand Down Expand Up @@ -119,4 +119,4 @@ To disable or enable a rule:

Disabled rules will have a Suspended status and enabled rules will have an Active status.

<img src="https://assets.gcore.pro/docs/cdn/cdn-resource-options/rules-for-particular-files/create-a-rule-manually-or-from-a-template-to-configure-settings-for-particular-files/10612307136657.png" alt="Suspended status and" width="80%">
<img src="https://assets.gcore.pro/docs/cdn/cdn-resource-options/rules-for-particular-files/create-a-rule-manually-or-from-a-template-to-configure-settings-for-particular-files/10612307136657.png" alt="Suspended status and" width="80%">

0 comments on commit d73e2fb

Please sign in to comment.