Skip to main content
Change the order in which HTTP policies are applied in the rule
Last update:

Change the order in which HTTP policies are applied in the rule

Application procedure HTTP Policy depends on the policy action. Traffic rejection policies (REJECT) are applied first, followed by URL referral policies (REDIRECT_TO_URL) and URL prefix (REDIRECT_PREFIX), then target group referral policies (REDIRECT_TO_POOL).

If a rule has multiple HTTP policies with the same action, they are applied according to the policy position in the rule balancer. You can change the policy position.

  1. In control panel go to Cloud platformBalancers.

  2. Open the tab Balancers → balancer page.

  3. Open the rule card.

  4. In the block HTTP Policies drag and drop policies. The policy that is above the other policies with the same action is applied first.

  5. Click Acknowledge.