Change the order of HTTP policies in a rule
The order of HTTP policies depends on the policy action. First, policies to reject traffic (REJECT) are applied, then URL redirection (REDIRECT_TO_URL) and URL prefix (REDIRECT_PREFIX) policies, and finally policies for redirection to a target group (REDIRECT_TO_POOL).
If a rule has multiple HTTP policies with the same action, they are applied according to the policy's position in the load balancer rule. You can change the policy position.
Control panel
OpenStack CLI
-
In the Control panel, on the top menu, click Products and select Cloud Servers.
-
Go to the Load Balancers section → the Load Balancers tab.
-
Open the load balancer page.
-
Open the rule card.
-
In the HTTP policies block, drag and drop the policies. The policy above other policies with the same action will be applied first.
-
Click Confirm.