Skip to content

Commit 5f661d2

Browse files
Merge pull request #227771 from seligj95/patch-1
adding details to priority setting
2 parents 3c11185 + 3a66c7b commit 5f661d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/app-service/tutorial-multi-region-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ az afd origin create --resource-group myresourcegroup --host-name <web-app-east-
155155
|http-port |80 |The port used for HTTP requests to the origin. |
156156
|https-port |443 |The port used for HTTPS requests to the origin. |
157157

158-
Repeat this step to add your second origin. Pay attention to the `--priority` parameter. For this origin, it's set to "2". This priority setting tells Azure Front Door to direct all traffic to the primary origin unless the primary goes down. Be sure to replace both instances of the placeholder for `<web-app-west-us>` with the name of that web app.
158+
Repeat this step to add your second origin. Pay attention to the `--priority` parameter. For this origin, it's set to "2". This priority setting tells Azure Front Door to direct all traffic to the primary origin unless the primary goes down. If you set the priority for this origin to "1", Azure Front Door will treat both origins as active and direct traffic to both regions. Be sure to replace both instances of the placeholder for `<web-app-west-us>` with the name of that web app.
159159

160160
```azurecli-interactive
161161
az afd origin create --resource-group myresourcegroup --host-name <web-app-west-us>.azurewebsites.net --profile-name myfrontdoorprofile --origin-group-name myorigingroup --origin-name secondaryapp --origin-host-header <web-app-west-us>.azurewebsites.net --priority 2 --weight 1000 --enabled-state Enabled --http-port 80 --https-port 443
@@ -506,4 +506,4 @@ With Azure App service, the SCM/advanced tools site is used to manage your apps
506506
> [How to deploy a highly available multi-region web app](https://azure.github.io/AppService/2022/12/02/multi-region-web-app.html)
507507

508508
> [!div class="nextstepaction"]
509-
> [Highly available zone-redundant web application](/azure/architecture/reference-architectures/app-service-web-app/zone-redundant)
509+
> [Highly available zone-redundant web application](/azure/architecture/reference-architectures/app-service-web-app/zone-redundant)

0 commit comments

Comments
 (0)