Skip to main content
Version: v6

Upstream Rules

You can switch between your server groups by creating upstream rules.

Overview

If a user has defined server groups and wants to use different groups depending upon different conditions then he can make use of Upstream Rules. For example, if a user wants its /API calls to be served by server-group "API" and console by "DEFAULT" then he can create a rule with a search pattern and search location as URL/Header/Cookie/Body/Arguments

upstream rules

How to use:

1.Go to WAF > Listeners > Rules > Upstream Rules

2.Create rules with different conditions

3.Click on Save Changes

ParameterAccepted ValuesDefault
Rule NameStringBlank
MessageStringBlank
Rule PriorityInteger1
Server GroupExisting server groupBlank
Find LocationURL/HEADER VAL/COOKIE VAL/BODY VAL/ARGS VALBlank
Match ConditionARG.Blank
Match ValueRegexBlank

Description

1.Rule Name :

Specify a user-friendly name to identify the rule. The rule name takes alpha-numeric input.

2.Message :

The user can add a short description of the rule. The description would explain the purpose of the rule.

3.Rule Priority:

Set the priority of the rule. If two rules have the same priority, then selection will be random.

4.Server Group:

Which server group should serve the request of this type. The server group configured will be serving requests specifically.

5.Find Location:

The block in which the search pattern will be searched like URL, Port, Header Val, Cookie Val, Body Val, Args Val.

6.Match Condition:

Users can set the condition which was need to be followed by next field Match Value.

7.Match Value:

The pattern to be searched in the request so that it can be forwarded to the mentioned server group.