You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/app-protect-waf/configuration.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,8 +246,8 @@ These are the typical steps to deploy an OpenAPI protection Policy in NGINX Ingr
246
246
3. Make other custom changes if needed (e.g. enable Data Guard protection).
247
247
4. Use a tool to convert the result to YAML. There are many, for example: [`yq` utility](https://github.com/mikefarah/yq).
248
248
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.
249
-
6. Create a `Policy` object which references the `APPolicy` Custom Resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/v2.4.2/examples/custom-resources/waf/waf.yaml).
250
-
7. Finally, attach the `Policy` object to a `VirtualServer` resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/v2.4.2/examples/custom-resources/waf/virtual-server.yaml).
249
+
6. Create a `Policy` object which references the `APPolicy` Custom Resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/v2.4.2/examples/custom-resources/app-protect-waf/waf.yaml).
250
+
7. Finally, attach the `Policy` object to a `VirtualServer` resource as in [this example](https://github.com/nginxinc/kubernetes-ingress/blob/v2.4.2/examples/custom-resources/app-protect-waf/virtual-server.yaml).
251
251
252
252
**Note**: You need to make sure that the server where the resource files are located is always available when you are compiling your policy.
253
253
@@ -383,7 +383,7 @@ The `link` option is also available in the `openApiFileReference` property and i
383
383
## Configuration in NGINX Plus Ingress Controller using Virtual Server Resource
384
384
In this example we deploy the NGINX Plus Ingress Controller with NGINX App Protect WAF, a simple web application and then configure load balancing and WAF protection for that application using the VirtualServer resource.
385
385
386
-
**Note:** You can find the example, and the files referenced, on [GitHub](https://github.com/nginxinc/kubernetes-ingress/tree/v2.4.2/examples/custom-resources/waf).
386
+
**Note:** You can find the example, and the files referenced, on [GitHub](https://github.com/nginxinc/kubernetes-ingress/tree/v2.4.2/examples/custom-resources/app-protect-waf).
387
387
388
388
## Prerequisites
389
389
@@ -402,37 +402,37 @@ In this example we deploy the NGINX Plus Ingress Controller with NGINX App Prote
Note the App Protect configuration settings in the Policy resource. They enable WAF protection by configuring App Protect with the policy and log configuration created in the previous step.
Note that the VirtualServer references the policy waf-policy created in Step 3.
438
438
@@ -467,7 +467,7 @@ To access the application, curl the coffee and the tea services. We'll use the -
467
467
468
468
### Configuration Example of Virtual Server
469
469
470
-
Refer to github repo for [Virtual Server example](https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v2.4.2/examples/custom-resources/waf/webapp.yaml).
470
+
Refer to github repo for [Virtual Server example](https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v2.4.2/examples/custom-resources/app-protect-waf/webapp.yaml).
0 commit comments