From a38dc0bef78b385427038d389d9575c5933c49cb Mon Sep 17 00:00:00 2001 From: Chris Martinelli <56095825+chris-martinelli@users.noreply.github.com> Date: Sat, 5 Oct 2024 08:44:37 -0500 Subject: [PATCH 1/3] Update create-rules.mdx added clarity on Load Balancer Rules priorities --- .../load-balancing-rules/create-rules.mdx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx b/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx index 22af0323872097..0e4c98a9fae73d 100644 --- a/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx +++ b/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx @@ -18,7 +18,7 @@ Create and manage [Load Balancing rules](/load-balancing/additional-options/load *** -## Workflow +## Example Workflow 1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select an account and application. 2. Go to **Traffic** > **Load Balancing**. @@ -41,6 +41,16 @@ Create and manage [Load Balancing rules](/load-balancing/additional-options/load To save a new load balancer rule, make sure to save both the rule **and** the overall load balancer configuration. +::: + +:::note + + +Generally speaking, for non-terminating actions, the last change made by rules in the same [phase](/ruleset-engine/about/phases/) will win (later rules can overwrite changes done by previous rules). However, for [terminating actions](/ruleset-engine/rules-language/actions/) (Block, Redirect, or one of the challenge actions), rule evaluation will stop and the action will be executed immediately. + +Load Calancer Custom Rules overrides the default Load Balancer setting including pool/origin selection. These are non-terminating actions so the last rule will override the previous rules. + + ::: ## Example use case From 3b83d4ed21155943224e30cb615c46d3b64b3c5a Mon Sep 17 00:00:00 2001 From: angelampcosta <92738954+angelampcosta@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:05:59 +0100 Subject: [PATCH 2/3] Apply suggestions from code review --- .../additional-options/load-balancing-rules/create-rules.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx b/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx index 0e4c98a9fae73d..94843283914cdf 100644 --- a/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx +++ b/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx @@ -46,9 +46,9 @@ To save a new load balancer rule, make sure to save both the rule **and** the ov :::note -Generally speaking, for non-terminating actions, the last change made by rules in the same [phase](/ruleset-engine/about/phases/) will win (later rules can overwrite changes done by previous rules). However, for [terminating actions](/ruleset-engine/rules-language/actions/) (Block, Redirect, or one of the challenge actions), rule evaluation will stop and the action will be executed immediately. +In general, for non-terminating actions, the last change made by rules within the same [phase](/ruleset-engine/about/phases/) will win (later rules can overwrite changes made by previous ones). However, for [terminating actions](/ruleset-engine/rules-language/actions/), such as Block, Redirect, or any of the challenge actions, rule evaluation will stop and the action is executed immediately. -Load Calancer Custom Rules overrides the default Load Balancer setting including pool/origin selection. These are non-terminating actions so the last rule will override the previous rules. +Load Balancer Custom Rules override the default Load Balancer settings, including pool and origin selection. These are non-terminating actions, so the last rule applied will override any prior rules. ::: From c11a147ec8d31e9ed1c0775cc05b7ade823b1655 Mon Sep 17 00:00:00 2001 From: angelampcosta <92738954+angelampcosta@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:06:16 +0100 Subject: [PATCH 3/3] Update src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx --- .../additional-options/load-balancing-rules/create-rules.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx b/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx index 94843283914cdf..57b7e9cd611915 100644 --- a/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx +++ b/src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx @@ -45,7 +45,6 @@ To save a new load balancer rule, make sure to save both the rule **and** the ov :::note - In general, for non-terminating actions, the last change made by rules within the same [phase](/ruleset-engine/about/phases/) will win (later rules can overwrite changes made by previous ones). However, for [terminating actions](/ruleset-engine/rules-language/actions/), such as Block, Redirect, or any of the challenge actions, rule evaluation will stop and the action is executed immediately. Load Balancer Custom Rules override the default Load Balancer settings, including pool and origin selection. These are non-terminating actions, so the last rule applied will override any prior rules.