Skip to content

Commit 607235c

Browse files
authored
docs: Improve command formatting in configuration.md (#1274)
Formatted the command for better readability.
1 parent 9f791da commit 607235c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/waf/policies/configuration.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ Similar to policies, it is customized from the base template, so it detects and
218218
To obtain the strict policy, execute the following command:
219219

220220
```shell
221-
sudo docker run --rm -v $(pwd):$(pwd) --entrypoint='' private-registry.nginx.com/nap/waf-compiler:1.0.0 cat /etc/app_protect/conf/NginxStrictPolicy.json
221+
sudo docker run --rm -v $(pwd):$(pwd) \
222+
--entrypoint='' \
223+
private-registry.nginx.com/nap/waf-compiler:1.0.0 \
224+
cat /etc/app_protect/conf/NginxStrictPolicy.json
222225
```
223226

224227
Replace the `1.0.0` with the actual release version.
@@ -391,4 +394,4 @@ Be aware, however, that in a transparent policy no violations are blocked, even
391394
}
392395
}
393396
}
394-
```
397+
```

0 commit comments

Comments
 (0)