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
fix: add waf packages to debian and ubuntu waf + dos dockerfiles (#1515)
Co-authored-by: Travis Martin <33876974+travisamartin@users.noreply.github.com>
Co-authored-by: Jon Torre <78599298+JTorreG@users.noreply.github.com>
Co-authored-by: Alan Dooley <a.dooley@f5.com>
Copy file name to clipboardExpand all lines: content/nap-dos/deployment-guide/learn-about-deployment.md
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1509,7 +1509,7 @@ Make sure to replace upstream and proxy pass directives in this example with rel
1509
1509
1510
1510
7. In the same directory create an `entrypoint.sh` file with executable permissions, with the following content:
1511
1511
1512
-
For Alpine / Debian / Ubuntu / UBI 8/ UBI 9:
1512
+
For Alpine / Debian / Ubuntu / UBI 8/ UBI 9:
1513
1513
1514
1514
```shell
1515
1515
#!/usr/bin/env bash
@@ -1585,7 +1585,7 @@ RUN printf "https://pkgs.nginx.com/app-protect-dos/alpine/v`egrep -o '^[0-9]+\.[
1585
1585
printf"https://pkgs.nginx.com/app-protect/alpine/v`egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release`/main\n"| tee -a /etc/apk/repositories && \
1586
1586
printf"https://pkgs.nginx.com/app-protect-security-updates/alpine/v`egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release`/main\n"| tee -a /etc/apk/repositories
1587
1587
1588
-
# Update the repository and install the most recent version of the F5 DoS for NGINX package (which includes NGINX Plus):
1588
+
# Update the repository and install the most recent versions of the F5 WAF and F5 DoS for NGINX packages (which include NGINX Plus):
1589
1589
RUN --mount=type=secret,id=nginx-crt,dst=/etc/apk/cert.pem,mode=0644 \
# Add NGINX Plus, NGINX App Protect and F5 DoS for NGINX repository:
1670
1671
RUN printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/plus/debian `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-plus.list \
1671
1672
&&printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect-dos/debian `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-app-protect-dos.list \
1672
-
&&printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect/debian `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-app-protect.list
1673
+
&&printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect/debian `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-app-protect.list \
1674
+
&&printf"deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg] https://pkgs.nginx.com/app-protect-security-updates/debian `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/app-protect-security-updates.list
1673
1675
1674
1676
# Download the apt configuration to `/etc/apt/apt.conf.d`:
1675
1677
RUN wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
1676
1678
1677
-
#Install F5 DoS for NGINX
1679
+
#Update the repository and install the most recent versions of the F5 WAF and F5 DoS for NGINX packages (which includes NGINX Plus):
1678
1680
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
# Add NGINX Plus, NGINX App Protect and F5 DoS for NGINX repository:
1713
1716
RUN printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/plus/ubuntu `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-plus.list \
1714
1717
&&printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect-dos/ubuntu `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-app-protect-dos.list \
1715
-
&&printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect/ubuntu `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-app-protect.list
1718
+
&&printf"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect/ubuntu `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/nginx-app-protect.list \
1719
+
&&printf"deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg] https://pkgs.nginx.com/app-protect-security-updates/debian `lsb_release -cs` nginx-plus\n"| tee /etc/apt/sources.list.d/app-protect-security-updates.list
1716
1720
1717
1721
# Download the apt configuration to `/etc/apt/apt.conf.d`:
1718
1722
RUN wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
1719
1723
1720
-
#Install F5 DoS for NGINX
1724
+
#Update the repository and install the most recent versions of the F5 WAF and F5 DoS for NGINX packages (which include NGINX Plus):
1721
1725
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
0 commit comments