How can I add additional rules to my CDN?

Sharon Gilmore 51 Reputation points
2020-07-31T09:26:51.987+00:00

I have a CDN endpoint pointing to my static site. I want to use the Rules Engine to add HTTP response headers. I've opened the Rules Engine and added 3 actions to the "Global" rule. I also have a conditional rule to "Enforce HTTPS". It won't let me add any more actions - the option is greyed out.

I read that there's a limit on the number of rules/actions that can be added for free, so I assume that's where the problem is arising, but I can't find anything which tells me what to do if I want to add more.

Azure Content Delivery Network
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,586 Reputation points Microsoft Employee
    2020-07-31T11:20:31.527+00:00

    Hello @Sharon Gilmore ,

    Each Azure CDN endpoint can have up to 25 rules. Each rule can have up to ten match conditions and five actions. Pricing for Rules Engine follows the below dimensions:

    Rules: $1 per rule per month
    Requests Processed: $0.60 per million requests
    The first 5 rules will remain free

    Included in this limit is a default global rule. The global rule doesn't have match conditions; actions that are defined in a global rule always triggered.

    Please refer : https://learn.microsoft.com/en-us/azure/cdn/cdn-standard-rules-engine-reference#limits-and-pricing

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.