Skip to content

Commit f01e16d

Browse files
kafeelhasanmjang
andauthored
Nlb 6573 update nap doc file path change (#1048)
* Update NAP Docs This commit updates the NAP user facing documentation with the following change: Based on this issue : nginxinc/nalb-shared#1695, updated the Configure App Protect WAF with the following text - 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 * Removed Extra Space * Addressed PR comments * Addressed PR Comment * Addressed PR Comments --------- Co-authored-by: Mike Jang <[email protected]>
1 parent 048972f commit f01e16d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ To create a custom security policy in the Azure Portal:
116116

117117
In the policy editor:
118118

119-
- Enter the **Name** (as a filename), **File path**, your policy content, and then select **Save**.
119+
- Enter the policy **Name**, **File path**, your policy content, and then select **Save**.
120120

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.
121+
- The **File path** must start with the prefix "/etc/app_protect/conf/".
122+
- The **File path** extension must be ".json".
123123

124124
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/).
125125

0 commit comments

Comments
 (0)