You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cdn/cdn-standard-rules-engine.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,35 +39,33 @@ You can use the Standard rules engine for Azure Content Delivery Network to cust
39
39
40
40
[](./media/cdn-standard-rules-engine/cdn-new-rule.png#lightbox)
41
41
42
-
> [!IMPORTANT]
42
+
> [!IMPORTANT]
43
43
> The order in which multiple rules are listed affects how rules are handled. The actions that are specified in a rule might be overwritten by a subsequent rule.
44
-
>
45
44
46
45
1. Select **Add rule** and enter a rule name. Rule names must begin with a letter and can contain only numbers and letters.
47
46
48
47
1. To identify the type of requests the rule applies to, create a match condition:
49
-
1. Select **Add condition**, and then select the **Request protocol** match condition.
50
-
1. For **Operator**, select **Equals**.
51
-
1. For **Value**, select **HTTP**.
52
-
48
+
1. Select **Add condition**, and then select the **Request protocol** match condition.
49
+
1. For **Operator**, select **Equals**.
50
+
1. For **Value**, select **HTTP**.
51
+
53
52
[](./media/cdn-standard-rules-engine/cdn-match-condition.png#lightbox)
54
-
55
-
```
56
-
> [!NOTE]
57
-
```> You can select from multiple match conditions in the **Add condition** dropdown list. For a detailed list of match conditions, see [Match conditions in the Standard rules engine](cdn-standard-rules-engine-match-conditions.md).
58
-
59
-
1. Select the action to apply to the requests that satisfy the match condition:
60
-
1. Select **Add action**, and then select **URL redirect**.
53
+
54
+
> [!NOTE]
55
+
> You can select from multiple match conditions in the **Add condition** dropdown list. For a detailed list of match conditions, see [Match conditions in the Standard rules engine](cdn-standard-rules-engine-match-conditions.md).
56
+
>
57
+
6. Select the action to apply to the requests that satisfy the match condition:
58
+
1. Select **Add action**, and then select **URL redirect**.
61
59
1. For **Type**, select **Found (302)**.
62
60
1. For **Protocol**, select **HTTPS**.
63
61
1. Leave all other fields blank to use incoming values.
64
62
65
63
[](./media/cdn-standard-rules-engine/cdn-action.png#lightbox)
66
64
67
-
> [!NOTE]
68
-
> You can select from multiple actions in the **Add action** dropdown list. For a detailed list of actions, see [Actions in the Standard rules engine](cdn-standard-rules-engine-actions.md).
65
+
> [!NOTE]
66
+
> You can select from multiple actions in the **Add action** dropdown list. For a detailed list of actions, see [Actions in the Standard rules engine](cdn-standard-rules-engine-actions.md).
69
67
70
-
6. Select **Save** to save the new rule. The rule is now available to use.
68
+
7. Select **Save** to save the new rule. The rule is now available to use.
71
69
72
70
> [!IMPORTANT]
73
71
> Rule changes might take up to 15 minutes to propagate through Azure Content Delivery Network.
0 commit comments