Skip to content

Commit d8105f6

Browse files
authored
docs: Fix links in the NAP config doc (#2982)
Fix links in the NAP config doc
1 parent 91cb1d9 commit d8105f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/app-protect/configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ It contains violations related to OpenAPI set to blocking (enforced).
225225

226226
### Types of OpenAPI References
227227

228-
There are different ways of referencing OpenAPI Specification files. The configuration is similar to [External References](#external-references).
228+
There are different ways of referencing OpenAPI Specification files. The configuration is similar to [External References](/nginx-app-protect/configuration-guide/configuration/#external-references).
229229

230230
**Note**: Any update of an OpenAPI Specification file referenced in the policy will not trigger a policy compilation. This action needs to be done actively by reloading the NGINX configuration.
231231

232232
#### URL Reference
233233

234234
URL reference is the method of referencing an external source by providing its full URL.
235235

236-
Make sure to configure certificates prior to using the HTTPS protocol - see the [External References](#https-reference) for details.
236+
Make sure to configure certificates prior to using the HTTPS protocol - see the [External References](/nginx-app-protect/configuration-guide/configuration/#types-of-references) for details.
237237

238238
## Configuration in NGINX Ingress Controller
239239

@@ -244,8 +244,8 @@ These are the typical steps to deploy an OpenAPI protection Policy in NGINX Ingr
244244
3. Make other custom changes if needed (e.g. enable Data Guard protection).
245245
4. Use a tool to convert the result to YAML. There are many, for example: [`yq` utility](https://github.com/mikefarah/yq).
246246
5. Add the YAML properties to create an `APPolicy` Custom Resource putting the policy itself (as in step 4) within the `spec` property of the Custom Resource. Refer to [App Protect Policies](#app-protect-policies) section above.
247-
6. Create a `Policy` object which references the `APPolicy` Custom Resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/main/examples/custom-resources/waf/waf.yaml).
248-
7. Finally, attach the `Policy` object to a `VirtualServer` resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/main/examples/custom-resources/waf/virtual-server.yaml).
247+
6. Create a `Policy` object which references the `APPolicy` Custom Resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/v2.3.0/examples/custom-resources/waf/waf.yaml).
248+
7. Finally, attach the `Policy` object to a `VirtualServer` resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/v2.3.0/examples/custom-resources/waf/virtual-server.yaml).
249249

250250
**Note**: You need to make sure that the server where the resource files are located is always available when you are compiling your policy.
251251

0 commit comments

Comments
 (0)