Use Rules to set up custom settings for certain file types or paths.
To add Rule go to CDN Resources, then Settings, choose Rules and click Add rule.
The Rule can have Literal or Regular expression Match Type. For Literal enter the URL, which the rule will be applied to, to the Rule pattern field. For Regular Expression specify the path or file types by the regular expression.
Rules settings are equal to the Resource Settings except for the Rewrite option.
For example, to forbid cashing of jpg, css, js files in CDN enter this to the Rule Pattern:
In Cache Settings click Add option and choose Disable Caching.
Click Add Rule.
To set up HTTP-header Access-Control-Allow-Origin only for ttf-files enter this to the Rule Pattern:
Then go to the Access (Security) section, click Add Option and choose Access-Control-Allow-Origin Header option.
You can add the header to all requests or just to the requests from the specified domains. Read more on this option.
Notice that your main settings do not automatically apply to the Rules. For example, if you have content access restrictions, you need to repeat them in the Rule settings, or the content mentioned in the Rules will be available without any restrictions.