Configuring rules
Rules in application gateways are used to determine how traffic flows. Different settings determine where a specific request is forwarded to and how this is done.
Getting ready
Before you start, open the browser and go to the Azure portal at https://portal.azure.com.
How to do it...
In order to add a rule to the application gateway, we must do the following:
- In the Azure portal, locate the previously created application gateway.
- In the Application gateway pane, under Settings, select Rules. Add a new rule or select an existing one to edit:
Figure 12.18: Adding a routing rule for our application gateway
- In the new pane, we must provide a name for the new rule (if you are editing an existing rule, this option is grayed out) and select the Listener, as shown in Figure 12.19:
Figure 12.19: Configuring the routing rule
- We also need to set up a backend target, where we need to define Target type and select options for Backend target and...