Skip to content

Commit 4d6e787

Browse files
committed
updating acrolinux
1 parent 4a9b0f5 commit 4d6e787

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/app-service/configure-error-pages.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ ms.author: jefmarti
1313
This article explains how to configure custom error pages on your web app. You can configure an error page for specific errors that will be presented to users instead of the default error page.
1414

1515
### Prerequisite
16-
In this tutorial, we'll be adding a custom 403 error page to our web app hosted on App Service and test it with an IP restriction. To do so, you'll need the following:
16+
In this tutorial, we're adding a custom 403 error page to our web app hosted on App Service and test it with an IP restriction. To do so, you need the following:
1717
- a web app hosted on App Service w/ a Premium SKU
18-
- an html file under 10kb in size
18+
- an html file under 10 kb in size
1919

2020
## Upload an error page
21-
For this example, we are uploading and testing a 403 error page to present to the user. Name your html file to match the error code (e.g. `403.hmtl`). Once you have your html file prepared you can upload it to your web app. In the configuration blade, you should see an **Error pages (preview)** tab. Click on this tab to view the error page options. If the options are greyed out, you'll need to upgrade to at least a Premium SKU to use this feature.
21+
For this example, we're uploading and testing a 403 error page to present to the user. Name your html file to match the error code (for example, `403.hmtl`). Once you have your html file prepared, you can upload it to your web app. In the configuration blade, you should see an **Error pages (preview)** tab. Click on this tab to view the error page options. If the options are greyed out, you need to upgrade to at least a Premium SKU to use this feature.
2222

23-
Select the error code that you'd like to upload an error page for and click **Edit**. On the next screen, click the folder icon to select your html file. The file must be in html format and within the 10kb size limit. Find your .html file and click on the **Upload** button at the bottom of the screen. You'll notice the Status in the table will update from Not Configured to Configured. Then click **Save** to complete the upload.
23+
Select the error code that you'd like to upload an error page for and click **Edit**. On the next screen, click the folder icon to select your html file. The file must be in html format and within the 10 kb size limit. Find your .html file and click on the **Upload** button at the bottom of the screen. Notice the Status in the table updates from Not Configured to Configured. Then click **Save** to complete the upload.
2424

2525
## Confirm error page
2626
Once the custom error page is uploaded and saved, we can trigger and view the page. In this example, we can trigger the 403 error by using an IP restriction.
@@ -29,14 +29,14 @@ To set an IP restriction, go to the **Networking** blade and click the **Enabled
2929

3030
Under the **Site access and rules** section, select the **+Add** button to create an IP restriction.
3131

32-
In the form that follows, you'll need to change the Action to **Deny** and fill out the **Priority** and **IP Address Block**. In this example, we use the **Inbound address** found on the Networking blade and we're setting it to /0 (e.g. `12.123.12.123/0`). This will disable all public access when visiting the site.
32+
In the form that follows, you need to change the Action to **Deny** and fill out the **Priority** and **IP Address Block**. In this example, we use the **Inbound address** found on the Networking blade and we're setting it to /0 (for example, `12.123.12.123/0`). This disables all public access when visiting the site.
3333

3434
Once the Add rule form is filled out, select the **Add rule** button. Then click **Save**.
3535

36-
Once saved, you'll need to restart the site for the changes to take affect. Go to your overview page and select **browse**. You should now see your custom error page load.
36+
Once saved, you need to restart the site for the changes to take effect. Go to your overview page and select **browse**. You should now see your custom error page load.
3737

3838
## Error codes
39-
App Service currently supports 3 types of error codes that are available to customize:
39+
App Service currently supports three types of error codes that are available to customize:
4040

4141
| Error code | description |
4242
| ------------- | ------------- |
@@ -51,4 +51,4 @@ Currently, error pages are only triggered when the error is coming from the fron
5151

5252
2. Why is the error page feature greyed out?
5353

54-
Error pages is currently a Premium feature. You need to use at least a Premium SKU to enable the feature.
54+
Error pages are currently a Premium feature. You need to use at least a Premium SKU to enable the feature.

articles/app-service/includes/deploy-intelligent-apps/deploy-intelligent-apps-linux-dotnet-pivot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For OpenAI, see this [documentation](https://platform.openai.com/docs/api-refere
7575
- `apiKey`
7676
- `modelId`
7777

78-
Since we are deploying to App Service, we can secure these secrets in **Azure Key Vault** for protection. Follow the [Quickstart](/azure/key-vault/secrets/quick-create-cli#create-a-key-vault) to set up your Key Vault and add the secrets you saved from earlier.
78+
Since we're deploying to App Service, we can secure these secrets in **Azure Key Vault** for protection. Follow the [Quickstart](/azure/key-vault/secrets/quick-create-cli#create-a-key-vault) to set up your Key Vault and add the secrets you saved from earlier.
7979
Next, we can use Key Vault references as app settings in our App Service resource to reference in our application. Follow the instructions in the [documentation](../../app-service-key-vault-references.md?source=recommendations&tabs=azure-cli) to grant your app access to your Key Vault and to set up Key Vault references.
8080
Then, go to the portal Environment Variables blade in your resource and add the following app settings:
8181

0 commit comments

Comments
 (0)