diff --git a/content/includes/nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md b/content/includes/nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md similarity index 100% rename from content/includes/nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md rename to content/includes/nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md diff --git a/content/includes/nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-9.md b/content/includes/nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-9.md new file mode 100644 index 000000000..1bd319400 --- /dev/null +++ b/content/includes/nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-9.md @@ -0,0 +1,17 @@ +Create NGINX App Protect WAF v5 repository file, named `/etc/yum.repos.d/app-protect-x-plus.repo` with the following contents: + +```none +[app-protect-x-plus] +name=nginx-app-protect repo +baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/9/$basearch/ +sslclientcert=/etc/ssl/nginx/nginx-repo.crt +sslclientkey=/etc/ssl/nginx/nginx-repo.key +gpgcheck=0 +enabled=1 +``` + +Install the NGINX App Protect WAF v5 package: + +```shell +sudo dnf install app-protect-module-plus +``` diff --git a/content/nap-waf/v5/admin-guide/install.md b/content/nap-waf/v5/admin-guide/install.md index d0afee8a0..252b11f17 100644 --- a/content/nap-waf/v5/admin-guide/install.md +++ b/content/nap-waf/v5/admin-guide/install.md @@ -173,7 +173,7 @@ Download the NGINX Plus repository file [nginx-plus-8.repo](https://cs.nginx.com sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nginx-plus-8.repo ``` -{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}} +{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md" >}} {{%/tab%}} @@ -186,7 +186,7 @@ Download the NGINX Plus repository file [plus-9.repo](https://cs.nginx.com/stati sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-9.repo ``` -{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}} +{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-9.md" >}} {{%/tab%}} @@ -728,7 +728,7 @@ Then you can move onto the next step, depending on your chosen operating system. {{%/tab%}} {{%tab name="Oracle Linux 8.1+"%}} -{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}} +{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md" >}} 3. Download all NGINX Plus packages, including all dependencies: We used repotrack for example: @@ -747,7 +747,7 @@ Then you can move onto the next step, depending on your chosen operating system. {{%/tab%}} {{%tab name="RHEL 8.1+"%}} -{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}} +{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-8.md" >}} 3. Download all NGINX Plus packages, including all dependencies: We used repotrack for example: @@ -766,7 +766,7 @@ Then you can move onto the next step, depending on your chosen operating system. {{%/tab%}} {{%tab name="RHEL 9 / Rocky Linux 9"%}} -{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos.md" >}} +{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-centos-9.md" >}} 3. Download all NGINX Plus packages, including all dependencies: We used repotrack for example: