You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: articles/application-gateway/application-gateway-create-url-route-cli.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Enter the code to sign in, and then close the browser to continue.
63
63
The following steps show you how to add a path-based rule to an existing application gateway.
64
64
### Create a new back-end pool
65
65
66
-
Configure the application gateway setting **imagesBackendPool** for the load-balanced network traffic in the back-end pool. In this example, you configure different back-end pool settings for the new back-end pool. Each back-end pool can have its own setting. Path-based rules use back-end HTTP settings to route traffic to the correct back-end pool members. This determines the protocol and port that's used when sending traffic to the back-end pool members. The back-end HTTP settings also determine cookie-based sessions. If enabled, cookie-based session affinity sends traffic to the same back end as previous requests for each packet:
66
+
Configure the application gateway setting **imagesBackendPool** for the load-balanced network traffic in the back-end pool. In this example, you configure different back-end pool settings for the new back-end pool. Each back-end pool can have its own setting. Path-based rules use back-end HTTP settings to route traffic to the correct back-end pool members. This determines the protocol and port that's used when sending traffic to the back-end pool members. The back-end HTTP settings also determine cookie-based sessions. If enabled, cookie-based session affinity sends traffic to the same back end as previous requests for each packet.
67
67
68
68
```azurecli-interactive
69
69
az network application-gateway address-pool create \
@@ -75,15 +75,15 @@ az network application-gateway address-pool create \
75
75
76
76
### Create a new front-end port for an application gateway
77
77
78
-
The front-end port configuration object is used by a listener to define what port the application gateway listens for traffic on the listener:
78
+
The front-end port configuration object is used by a listener to define what port the application gateway listens for traffic on the listener.
This step configures the listener for the public IP address and port used to receive incoming network traffic. The following example takes the previously configured front-end IP configuration, front-end port configuration, and a protocol (http or https, which are case sensitive) and configures the listener. In this example, the listener listens to HTTP traffic on port 82 on the public IP address created earlier in this scenario:
86
+
This step configures the listener for the public IP address and port used to receive incoming network traffic. The following example takes the previously configured front-end IP configuration, front-end port configuration, and a protocol (http or https, which are case sensitive) and configures the listener. In this example, the listener listens to HTTP traffic on port 82 on the public IP address created earlier in this scenario.
@@ -96,7 +96,7 @@ This step configures the relative URL path used by the application gateway to de
96
96
> [!IMPORTANT]
97
97
> Each path must start with "/", and the only place an asterisk is allowed is at the end. Valid examples are /xyz, /xyz* or /xyz/*. The string fed to the path matcher does not include any text after the first "?" or "#", and those characters are not allowed.
98
98
99
-
The following example creates one rule for the /images/* path, routing traffic to the back-end **imagesBackendPool**. This rule ensures that traffic for each set of URLs is routed to the back end. For example, http://adatum.com/images/figure1.jpg goes to **imagesBackendPool**. If the path doesn't match any of the pre-defined path rules, the rule path map configuration also configures a default back-end address pool. For example, http://adatum.com/shoppingcart/test.html goes to **pool1** because it is defined as the default pool for unmatched traffic:
99
+
The following example creates one rule for the /images/* path, routing traffic to the back-end **imagesBackendPool**. This rule ensures that traffic for each set of URLs is routed to the back end. For example, http://adatum.com/images/figure1.jpg goes to **imagesBackendPool**. If the path doesn't match any of the pre-defined path rules, the rule path map configuration also configures a default back-end address pool. For example, http://adatum.com/shoppingcart/test.html goes to **pool1** because it is defined as the default pool for unmatched traffic.
100
100
101
101
```azurecli-interactive
102
102
az network application-gateway url-path-map create \
0 commit comments