Skip to content

Commit a062ceb

Browse files
committed
Merge branch 'main' into waf/refactor
2 parents 1ede095 + 9ea2b94 commit a062ceb

File tree

2 files changed

+34
-11
lines changed

2 files changed

+34
-11
lines changed

content/nap-dos/deployment-guide/learn-about-deployment.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,22 +413,28 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s
413413
414414
6. Enable Yum repositories to pull F5 DoS for NGINX dependencies:
415415
416-
If you have a RHEL subscription:
416+
For RHEL subscription:
417417
418418
```shell
419419
sudo subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms
420420
sudo subscription-manager repos --enable=rhel-8-for-x86_64-appstream-rpms
421421
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
422422
```
423423
424-
7. Add NGINX Plus and F5 DoS for NGINX repository:
424+
For RockyLinux:
425+
426+
```shell
427+
sudo dnf -y install epel-release
428+
```
429+
430+
8. Add NGINX Plus and NGINX App Protect DoS repository:
425431
426432
```shell
427433
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nginx-plus-8.repo
428434
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/app-protect-dos-8.repo
429435
```
430436
431-
8. In case of fresh installation, update the repository and install the most recent version of the NGINX Plus App Protect DoS package (which includes NGINX Plus):
437+
9. In case of fresh installation, update the repository and install the most recent version of the NGINX Plus App Protect DoS package (which includes NGINX Plus):
432438
433439
```shell
434440
sudo dnf install app-protect-dos
@@ -457,7 +463,7 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s
457463
sudo dnf install app-protect-dos-27+2.4.0
458464
```
459465
460-
9. In case of upgrading from previously installed NGINX Plus App Protect DoS package (which includes NGINX Plus):
466+
10. In case of upgrading from previously installed NGINX Plus App Protect DoS package (which includes NGINX Plus):
461467
462468
```shell
463469
sudo dnf remove nginx-plus
@@ -621,15 +627,21 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s
621627
622628
6. Enable the yum repositories to pull F5 DoS for NGINX dependencies:
623629
624-
If you have a RHEL subscription:
630+
For RHEL subscription:
625631
626632
```shell
627633
sudo subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms
628634
sudo subscription-manager repos --enable=rhel-9-for-x86_64-appstream-rpms
629635
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
630636
```
631637
632-
7. Add the NGINX Plus and F5 DoS for NGINX repositories:
638+
For RockyLinux:
639+
640+
```shell
641+
sudo dnf -y install epel-release
642+
```
643+
644+
7. Add the NGINX Plus and NGINX App Protect DoS repositories:
633645
634646
```shell
635647
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-9.repo

content/nic/tutorials/security-monitoring.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,24 @@ If you use custom container images, NGINX Agent must be installed along with F5
8282

8383
{{< call-out "note" >}} The `features` list must not contain `nginx-config-async` or `nginx-ssl-config` as these features can cause conflicts with NGINX Ingress Controller.{{< /call-out >}}
8484

85-
3. Make sure that the ConfigMap is mounted to the NGINX Ingress Controller pod at `/etc/nginx-agent/nginx-agent.conf` by adding the following to the NGINX Ingress Controller deployment manifest:
85+
3. Make sure that the ConfigMap is mounted to the NGINX Ingress Controller pod at `/etc/nginx-agent/nginx-agent.conf` and the dynamic agent config is mounted at `/var/lib/nginx-agent` by adding the following volumes and volumeMounts to the NGINX Ingress Controller deployment manifest:
8686

8787
```yaml
88-
volumeMounts:
89-
- name: agent-conf
90-
mountPath: /etc/nginx-agent/nginx-agent.conf
91-
subPath: nginx-agent.conf
88+
volumes:
89+
- name: agent-conf
90+
configMap:
91+
name: agent-conf
92+
- name: agent-dynamic
93+
emptyDir: {}
94+
```
95+
96+
```yaml
97+
volumeMounts:
98+
- name: agent-conf
99+
mountPath: /etc/nginx-agent/nginx-agent.conf
100+
subPath: nginx-agent.conf
101+
- name: agent-dynamic
102+
mountPath: /var/lib/nginx-agent
92103
```
93104

94105
4. Follow the [Installation with Manifests]({{< ref "/nic/installation/installing-nic/installation-with-manifests.md" >}}) instructions to deploy NGINX Ingress Controller with custom resources enabled.

0 commit comments

Comments
 (0)