Skip to content

Commit c548fc8

Browse files
authored
Update application-gateway-create-url-route-cli.md
1 parent c04c785 commit c548fc8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/application-gateway/application-gateway-create-url-route-cli.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Enter the code to sign in, and then close the browser to continue.
6363
The following steps show you how to add a path-based rule to an existing application gateway.
6464
### Create a new back-end pool
6565

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.
6767

6868
```azurecli-interactive
6969
az network application-gateway address-pool create \
@@ -75,15 +75,15 @@ az network application-gateway address-pool create \
7575

7676
### Create a new front-end port for an application gateway
7777

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.
7979

8080
```azurecli-interactive
8181
az network application-gateway frontend-port create --port 82 --gateway-name AdatumAppGateway --resource-group myresourcegroup --name port82
8282
```
8383

8484
### Create a new listener
8585

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:
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.
8787

8888
```azurecli-interactive
8989
az network application-gateway http-listener create --name imageListener --frontend-ip appGatewayFrontendIP --frontend-port port82 --resource-group myresourcegroup --gateway-name AdatumAppGateway
@@ -96,7 +96,7 @@ This step configures the relative URL path used by the application gateway to de
9696
> [!IMPORTANT]
9797
> 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.
9898
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.
100100

101101
```azurecli-interactive
102102
az network application-gateway url-path-map create \

0 commit comments

Comments
 (0)