Skip to content

Commit 4931218

Browse files
committed
Addressed PR comments
1 parent eaee0e6 commit 4931218

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

content/nginxaas-azure/app-protect/configure-waf.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,14 @@ To create a custom security policy in the Azure Portal:
114114
3. Select **Custom Policies**
115115
4. Select **Add Custom Security Policy** to open the policy editor
116116

117-
In the policy editor, enter the **Name**, **File path**, your policy content, and then select **Save**. The **File path** is not optional and is automatically generated in the portal, defaulting to the path "/etc/app_protect/conf/" plus the policy **Name** with a ".json" extension. After your policy has been saved, you can then reference it in your NGINX configuration. For more information on policy configuration and syntax, refer to the NGINX App Protect [configuration guide](https://docs.nginx.com/nginx-app-protect-waf/v5/configuration-guide/configuration/).
117+
In the policy editor:
118+
119+
- Enter the **Name** (as a filename), **File path**, your policy content, and then select **Save**.
120+
121+
- Be sure to append the filename with ".json".
122+
- The **File path** is automatically generated with "/etc/app_protect/conf/" as the default policies folder.
123+
124+
After your policy has been saved, you can then reference it in your NGINX configuration. For more information on policy configuration and syntax, refer to the NGINX App Protect [configuration guide](https://docs.nginx.com/nginx-app-protect-waf/v5/configuration-guide/configuration/).
118125

119126
{{< call-out "note" >}}The **name** field within the security policy must be unique among the policies referenced in your NGINX configuration.{{< /call-out >}}
120127

0 commit comments

Comments
 (0)