Skip to content

Commit 7e52ebf

Browse files
tweaks
1 parent 26a28e6 commit 7e52ebf

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

articles/static-web-apps/front-door-manual.md

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In this tutorial, you learn how to:
2323
> [!NOTE]
2424
> This tutorial requires the Azure Static Web Apps Standard and Azure Front Door Standard / Premium plans.
2525
26-
## Copy URL
26+
## Copy web app URL
2727

2828
1. Navigate to the Azure portal.
2929

@@ -35,23 +35,23 @@ In this tutorial, you learn how to:
3535

3636
## Add Azure Front Door
3737

38-
1. Navigate to the Azure portal.
38+
1. Navigate to the Azure home screen.
3939

4040
1. Select **Create a resource**.
4141

4242
1. Search for **Front Door**.
4343

4444
1. Select **Front Door Standard/Premium**.
4545

46-
Make sure to select the service labeled *Front Door Standard/Premium*.
46+
Make sure to select the service labeled *Front Door Standard/Premium* and not the plain *Front Door* option.
4747

4848
1. Select **Create**.
4949

50-
1. Select **Azure Front Door Standard/Premium (Preview)**.
50+
1. Select the **Azure Front Door Standard/Premium** option.
5151

52-
1. Select **Quick create**.
52+
1. Select the **Quick create** option.
5353

54-
1. Select **Continue to create a front door**.
54+
1. Select the **Continue to create a front door** button.
5555

5656
1. In the *Basics* tab, enter the following values:
5757

@@ -64,8 +64,8 @@ In this tutorial, you learn how to:
6464
| Tier | Select **Standard**. |
6565
| Endpoint name | Enter a unique name for your Front Door host. |
6666
| Origin type | Select **Custom**. |
67-
| Origin host name | Enter the hostname of your static web app. Make sure your value does not include a trailing slash or protocol. (For example, `desert-rain-04056.azurestaticapps.net`) |
68-
| Caching | Check the *Enable caching* checkbox. |
67+
| Origin host name | Enter the hostname of your static web app that you set aside from the beginning of this tutorial. Make sure your value does not include a trailing slash or protocol. (For example, `desert-rain-04056.azurestaticapps.net`) |
68+
| Caching | Check the **Enable caching** checkbox. |
6969
| Query string caching behavior | Select **Use Query string** from the dropdown. |
7070

7171
1. Select **Review + create**.
@@ -80,6 +80,8 @@ In this tutorial, you learn how to:
8080

8181
Add the following settings to disable Front Door's caching policies from trying to cache authentication and authorization related pages.
8282

83+
### Add a condition
84+
8385
1. Under *Settings*, select **Rule set**.
8486

8587
1. Select **Add**.
@@ -96,29 +98,39 @@ Add the following settings to disable Front Door's caching policies from trying
9698

9799
1. Select the **Edit** link above the *Value* textbox.
98100

99-
1. Enter **/.auth** in the value textbox.
101+
1. Enter **/.auth** in the textbox.
102+
103+
1. Select the **Update** button.
104+
105+
1. Select the **No transform** option from the *Case transform* dropdown.
100106

101-
1. Select **Add an action**.
107+
### Add an action
108+
109+
1. Select the **Add an action** dropdown.
102110

103111
1. Select **Cache expiration**.
104112

105113
1. Select **Bypass cache** in the *Cache Behavior* dropdown.
106114

107-
1. Select **Save**.
115+
1. Select the **Save** button.
116+
117+
### Associate rule to an endpoint
118+
119+
Now that the rule is created, you apply the rule to a Front Door endpoint.
108120

109121
1. Select the **Unassociated** link.
110122

111-
1. Select the Endpoint name you want to apply this rule.
123+
1. Select the Endpoint name to which you want to apply the caching rule.
112124

113-
1. Select **Next**.
125+
1. Select the **Next** button.
114126

115-
1. Select **Associate**.
127+
1. Select the **Associate** button.
116128

117129
## Copy Front Door ID
118130

119131
Use the following steps to copy the Front Door instance's unique identifier.
120132

121-
1. Select **Overview**.
133+
1. Select the **Overview** link on the left-hand navigation.
122134

123135
1. From the *Overview* window, copy the value labeled **Front Door ID** and paste it into a file for later use.
124136

0 commit comments

Comments
 (0)