@@ -35,24 +35,15 @@ If not already installed, `nginx` or `nginx-plus` will be installed automaticall
3535
3636# ## Common Steps for NGINX Open Source and NGINX Plus
3737Please follow these steps before you install either NGINX Open Source or NGINX Plus.
38+
3839{{< tabs name=" common_steps_for_nginx_oss_and_plus" > }}
39- {{%tab name=" Alpine Linux 3.16" %}}
40-
41- {{< include " nap-waf/config/v5/host-based-nginx-instructions/common-steps-with-alpine" > }}
4240
43- {{%/tab%}}
44- {{%tab name=" Alpine Linux 3.17" %}}
41+ {{%tab name=" Alpine Linux 3.16/3.17/3.19" %}}
4542
4643{{< include " nap-waf/config/v5/host-based-nginx-instructions/common-steps-with-alpine" > }}
4744
4845{{%/tab%}}
4946
50- {{%tab name=" Alpine Linux 3.19" %}}
51-
52- {{< include " nap-waf/config/v5/host-based-nginx-instructions/common-steps-with-alpine" > }}
53-
54- {{%/tab%}}
55-
5647{{%tab name=" Amazon Linux 2" %}}
5748
58491. Create the ` /etc/ssl/nginx` directory:
@@ -136,32 +127,10 @@ Please follow these steps before you install either NGINX Open Source or NGINX P
136127{{< /tabs> }}
137128
138129# ## For NGINX Open Source
139- {{< tabs name=" for_nginx_open_source" > }}
140- {{%tab name=" Alpine Linux 3.16" %}}
141-
142- {{< include " nap-waf/config/v5/host-based-nginx-instructions/nginx-oss-alpine.md" > }}
143-
144- 3. Install the NGINX App Protect WAF v5 package:
145-
146- ` ` ` shell
147- sudo apk add app-protect-module-oss
148- ` ` `
149-
150- {{%/tab%}}
151-
152- {{%tab name=" Alpine Linux 3.17" %}}
153-
154- {{< include " nap-waf/config/v5/host-based-nginx-instructions/nginx-oss-alpine.md" > }}
155-
156- 3. Install the NGINX App Protect WAF v5 package:
157-
158- ` ` ` shell
159- sudo apk add app-protect-module-oss
160- ` ` `
161130
162- {{%/tab% }}
131+ {{< tabs name= " for_nginx_open_source " > }}
163132
164- {{%tab name=" Alpine Linux 3.19" %}}
133+ {{%tab name=" Alpine Linux 3.16/3.17/3. 19" %}}
165134
166135{{< include " nap-waf/config/v5/host-based-nginx-instructions/nginx-oss-alpine.md" > }}
167136
@@ -333,30 +302,8 @@ Please follow these steps before you install either NGINX Open Source or NGINX P
333302
334303# ## For NGINX Plus
335304{{< tabs name=" for_nginx_plus" > }}
336- {{%tab name=" Alpine Linux 3.16" %}}
337305
338- {{< include " nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-alpine.md" > }}
339-
340- 3. Install the NGINX App Protect WAF v5 package:
341-
342- ` ` ` shell
343- sudo apk add app-protect-module-plus
344- ` ` `
345-
346- {{%/tab%}}
347- {{%tab name=" Alpine Linux 3.17" %}}
348-
349- {{< include " nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-alpine.md" > }}
350-
351- 3. Install the NGINX App Protect WAF v5 package:
352-
353- ` ` ` shell
354- sudo apk add app-protect-module-plus
355- ` ` `
356-
357- {{%/tab%}}
358-
359- {{%tab name=" Alpine Linux 3.19" %}}
306+ {{%tab name=" Alpine Linux 3.16/3.17/3.19" %}}
360307
361308{{< include " nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-alpine.md" > }}
362309
@@ -660,18 +607,17 @@ If not already installed, `nginx` or `nginx-plus` will be installed automaticall
660607{{< /note >}}
661608
662609### Common Steps for NGINX Open Source and NGINX Plus
610+
663611Please follow these steps before you install either NGINX Open Source or NGINX Plus.
612+
664613{{<tabs name="offline_common_steps_for_nginx_oss_and_plus">}}
665- {{%tab name="Alpine Linux 3.16"%}}
666-
667- {{< include "nap-waf/config/v5/host-based-nginx-instructions/common-steps-with-alpine" >}}
668614
669- {{%/tab%}}
670- {{%tab name="Alpine Linux 3.17"%}}
615+ {{%tab name="Alpine Linux 3.16/3.17/3.19"%}}
671616
672617{{< include "nap-waf/config/v5/host-based-nginx-instructions/common-steps-with-alpine" >}}
673618
674619{{%/tab%}}
620+
675621{{%tab name="Amazon Linux 2023"%}}
676622
677623{{< include "nap-waf/config/v5/host-based-nginx-instructions/common-steps-with-amzn2023.md" >}}
@@ -720,7 +666,9 @@ Please follow these steps before you install either NGINX Open Source or NGINX P
720666{{</tabs>}}
721667
722668### For NGINX Open Source
669+
723670{{<tabs name="offline_for_nginx_open_source">}}
671+
724672{{%tab name="Alpine Linux 3.16"%}}
725673
726674{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-oss-alpine.md" >}}
@@ -948,35 +896,10 @@ Please follow these steps before you install either NGINX Open Source or NGINX P
948896{{</tabs>}}
949897
950898### For NGINX Plus
951- {{<tabs name="offline_for_nginx_plus">}}
952- {{%tab name="Alpine Linux 3.16"%}}
953-
954- {{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-alpine.md" >}}
955-
956- 3. Download all NGINX Plus packages, including all dependencies:
957-
958- ```shell
959- sudo mkdir /etc/packages/
960- sudo apk update
961- sudo apk fetch --recursive --output /etc/packages app-protect-module-plus
962- ```
963-
964- {{%/tab%}}
965- {{%tab name="Alpine Linux 3.17"%}}
966-
967- {{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-alpine.md" >}}
968-
969- 3. Download all NGINX Plus packages, including all dependencies:
970899
971- ```shell
972- sudo mkdir /etc/packages/
973- sudo apk update
974- sudo apk fetch --recursive --output /etc/packages app-protect-module-plus
975- ```
976-
977- {{%/tab%}}
900+ {{<tabs name="offline_for_nginx_plus">}}
978901
979- {{%tab name="Alpine Linux 3.19"%}}
902+ {{%tab name="Alpine Linux 3.16/3.17/3. 19"%}}
980903
981904{{< include "nap-waf/config/v5/host-based-nginx-instructions/nginx-plus-alpine.md" >}}
982905
@@ -1328,43 +1251,10 @@ sudo docker compose stop
13281251` ` `
13291252
13301253# ## Uninstall the NGINX App Protect WAF v5 Package
1331- {{< tabs name=" uninstall_nginx_and_nginx_nap" > }}
1332- {{%tab name=" Alpine Linux 3.16" %}}
1333-
1334- For NGINX Open Source
1335- Uninstall the NGINX App Protect WAF v5 package:
1336-
1337- ` ` ` shell
1338- sudo apk del app-protect-module-oss
1339- ` ` `
1340-
1341- For NGINX Plus
1342- Uninstall the NGINX App Protect WAF v5 package:
13431254
1344- ` ` ` shell
1345- sudo apk del app-protect-module-plus
1346- ` ` `
1347-
1348- {{%/tab%}}
1349- {{%tab name=" Alpine Linux 3.17" %}}
1350-
1351- For NGINX Open Source
1352- Uninstall the NGINX App Protect WAF v5 package:
1353-
1354- ` ` ` shell
1355- sudo apk del app-protect-module-oss
1356- ` ` `
1357-
1358- For NGINX Plus
1359- Uninstall the NGINX App Protect WAF v5 package:
1360-
1361- ` ` ` shell
1362- sudo apk del app-protect-module-plus
1363- ` ` `
1364-
1365- {{%/tab%}}
1255+ {{< tabs name=" uninstall_nginx_and_nginx_nap" > }}
13661256
1367- {{%tab name=" Alpine Linux 3.19" %}}
1257+ {{%tab name=" Alpine Linux 3.16/3.17/3. 19" %}}
13681258
13691259For NGINX Open Source
13701260Uninstall the NGINX App Protect WAF v5 package:
0 commit comments