Skip to content

Commit b1acd1a

Browse files
Fixed wrong baseurl for NAP5 and RHEL9 deployment (#1037)
Fixed wrong baseurl for RHEL 9 / ROCKY LINUX 9 in https://docs.nginx.com/nginx-app-protect-waf/v5/admin-guide/install/#for-nginx-plus Co-authored-by: Mike Jang <[email protected]>
1 parent 09aeb91 commit b1acd1a

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Create NGINX App Protect WAF v5 repository file, named `/etc/yum.repos.d/app-protect-x-plus.repo` with the following contents:
2+
3+
```none
4+
[app-protect-x-plus]
5+
name=nginx-app-protect repo
6+
baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/9/$basearch/
7+
sslclientcert=/etc/ssl/nginx/nginx-repo.crt
8+
sslclientkey=/etc/ssl/nginx/nginx-repo.key
9+
gpgcheck=0
10+
enabled=1
11+
```
12+
13+
Install the NGINX App Protect WAF v5 package:
14+
15+
```shell
16+
sudo dnf install app-protect-module-plus
17+
```

content/nap-waf/v5/admin-guide/install.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Download the NGINX Plus repository file [nginx-plus-8.repo](https://cs.nginx.com
173173
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nginx-plus-8.repo
174174
```
175175

176-
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}}
176+
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md" >}}
177177

178178

179179
{{%/tab%}}
@@ -186,7 +186,7 @@ Download the NGINX Plus repository file [plus-9.repo](https://cs.nginx.com/stati
186186
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-9.repo
187187
```
188188

189-
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}}
189+
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-9.md" >}}
190190

191191
{{%/tab%}}
192192

@@ -728,7 +728,7 @@ Then you can move onto the next step, depending on your chosen operating system.
728728
{{%/tab%}}
729729
{{%tab name="Oracle Linux 8.1+"%}}
730730

731-
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}}
731+
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md" >}}
732732

733733
3. Download all NGINX Plus packages, including all dependencies: We used repotrack for example:
734734

@@ -747,7 +747,7 @@ Then you can move onto the next step, depending on your chosen operating system.
747747
{{%/tab%}}
748748
{{%tab name="RHEL 8.1+"%}}
749749

750-
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}}
750+
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md" >}}
751751

752752
3. Download all NGINX Plus packages, including all dependencies: We used repotrack for example:
753753

@@ -766,7 +766,7 @@ Then you can move onto the next step, depending on your chosen operating system.
766766
{{%/tab%}}
767767
{{%tab name="RHEL 9 / Rocky Linux 9"%}}
768768

769-
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}}
769+
{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-9.md" >}}
770770

771771
3. Download all NGINX Plus packages, including all dependencies: We used repotrack for example:
772772

0 commit comments

Comments
 (0)