Skip to content

Commit 9ac1e44

Browse files
mjangADubhlaoich
andauthored
fix: Update NGINX certificate file extension (#1398)
F5 WAF for NGINX docs incorrectly refers to files with the .cert extension, which should be .crt instead. --------- Co-authored-by: Alan Dooley <[email protected]>
1 parent a9d8548 commit 9ac1e44

File tree

10 files changed

+37
-37
lines changed

10 files changed

+37
-37
lines changed

content/includes/waf/dockerfiles/amazon-plus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
FROM amazonlinux:2023
99

1010
# Install NGINX Plus and F5 WAF for NGINX v5 module
11-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
11+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
1212
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
1313
yum -y install wget ca-certificates shadow-utils \
1414
&& wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-amazonlinux2023.repo \
1515
&& echo "[app-protect-x-plus]" > /etc/yum.repos.d/app-protect-plus.repo \
1616
&& echo "name=nginx-app-protect repo" >> /etc/yum.repos.d/app-protect-plus.repo \
1717
&& echo "baseurl=https://pkgs.nginx.com/app-protect-x-plus/amzn/2023/\$basearch/" >> /etc/yum.repos.d/app-protect-plus.repo \
18-
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.cert" >> /etc/yum.repos.d/app-protect-plus.repo \
18+
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.crt" >> /etc/yum.repos.d/app-protect-plus.repo \
1919
&& echo "sslclientkey=/etc/ssl/nginx/nginx-repo.key" >> /etc/yum.repos.d/app-protect-plus.repo \
2020
&& echo "gpgcheck=0" >> /etc/yum.repos.d/app-protect-plus.repo \
2121
&& echo "enabled=1" >> /etc/yum.repos.d/app-protect-plus.repo \
@@ -33,4 +33,4 @@ STOPSIGNAL SIGQUIT
3333

3434
# Set default command
3535
CMD ["nginx", "-g", "daemon off;"]
36-
```
36+
```

content/includes/waf/dockerfiles/debian-plus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG OS_CODENAME=bookworm
1111
FROM debian:${OS_CODENAME}
1212

1313
# Install NGINX Plus and F5 WAF for NGINX v5 module
14-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
14+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
1515
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
1616
apt-get update \
1717
&& apt-get install -y \
@@ -46,4 +46,4 @@ STOPSIGNAL SIGQUIT
4646

4747
# Set default command
4848
CMD ["nginx", "-g", "daemon off;"]
49-
```
49+
```

content/includes/waf/dockerfiles/oracle-plus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
FROM oraclelinux:8
99

1010
# Install NGINX Plus and F5 WAF for NGINX v5 module
11-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
11+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
1212
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
1313
dnf -y install wget ca-certificates yum-utils \
1414
&& wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nginx-plus-8.repo \
1515
&& echo "[app-protect-x-plus]" > /etc/yum.repos.d/app-protect-8-x-plus.repo \
1616
&& echo "name=nginx-app-protect repo" >> /etc/yum.repos.d/app-protect-8-x-plus.repo \
1717
&& echo "baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/8/\$basearch/" >> /etc/yum.repos.d/app-protect-8-x-plus.repo \
18-
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.cert" >> /etc/yum.repos.d/app-protect-8-x-plus.repo \
18+
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.crt" >> /etc/yum.repos.d/app-protect-8-x-plus.repo \
1919
&& echo "sslclientkey=/etc/ssl/nginx/nginx-repo.key" >> /etc/yum.repos.d/app-protect-8-x-plus.repo \
2020
&& echo "gpgcheck=0" >> /etc/yum.repos.d/app-protect-8-x-plus.repo \
2121
&& echo "enabled=1" >> /etc/yum.repos.d/app-protect-8-x-plus.repo \
@@ -34,4 +34,4 @@ STOPSIGNAL SIGQUIT
3434

3535
# Set default command
3636
CMD ["nginx", "-g", "daemon off;"]
37-
```
37+
```

content/includes/waf/dockerfiles/rhel8-plus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FROM registry.access.redhat.com/ubi${UBI_VERSION}/ubi
1414
ARG UBI_VERSION
1515

1616
# Install NGINX Plus and F5 WAF for NGINX v5 module
17-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
17+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
1818
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
1919
PKG_MANAGER=dnf; \
2020
if [ "${UBI_VERSION}" = "7" ]; then \
@@ -31,7 +31,7 @@ RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=064
3131
&& echo "[app-protect-x-plus]" > /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
3232
&& echo "name=nginx-app-protect repo" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
3333
&& echo "baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/${UBI_VERSION}/\$basearch/" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
34-
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.cert" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
34+
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.crt" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
3535
&& echo "sslclientkey=/etc/ssl/nginx/nginx-repo.key" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
3636
&& echo "gpgcheck=0" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
3737
&& echo "enabled=1" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \

content/includes/waf/dockerfiles/rhel9-plus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
FROM rockylinux:9
99

1010
# Install NGINX Plus and F5 WAF for NGINX v5 module
11-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
11+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
1212
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
1313
dnf -y install wget ca-certificates \
1414
&& wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo \
1515
&& wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/${NGINX_PLUS_REPO} \
1616
&& echo "[app-protect-x-plus]" > /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
1717
&& echo "name=nginx-app-protect repo" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
1818
&& echo "baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/${UBI_VERSION}/\$basearch/" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
19-
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.cert" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
19+
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.crt" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
2020
&& echo "sslclientkey=/etc/ssl/nginx/nginx-repo.key" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
2121
&& echo "gpgcheck=0" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
2222
&& echo "enabled=1" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
@@ -35,4 +35,4 @@ STOPSIGNAL SIGQUIT
3535

3636
# Set default command
3737
CMD ["nginx", "-g", "daemon off;"]
38-
```
38+
```

content/includes/waf/dockerfiles/rocky9-plus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
FROM rockylinux:9
99

1010
# Install NGINX Plus and F5 WAF for NGINX v5 module
11-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
11+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
1212
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
1313
dnf -y install wget ca-certificates \
1414
&& wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo \
1515
&& wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/${NGINX_PLUS_REPO} \
1616
&& echo "[app-protect-x-plus]" > /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
1717
&& echo "name=nginx-app-protect repo" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
1818
&& echo "baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/${UBI_VERSION}/\$basearch/" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
19-
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.cert" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
19+
&& echo "sslclientcert=/etc/ssl/nginx/nginx-repo.crt" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
2020
&& echo "sslclientkey=/etc/ssl/nginx/nginx-repo.key" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
2121
&& echo "gpgcheck=0" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
2222
&& echo "enabled=1" >> /etc/yum.repos.d/app-protect-${UBI_VERSION}-x-plus.repo \
@@ -35,4 +35,4 @@ STOPSIGNAL SIGQUIT
3535

3636
# Set default command
3737
CMD ["nginx", "-g", "daemon off;"]
38-
```
38+
```

content/includes/waf/dockerfiles/ubuntu-plus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG OS_CODENAME=jammy
1111
FROM ubuntu:${OS_CODENAME}
1212

1313
# Install NGINX Plus and F5 WAF for NGINX v5 module
14-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
14+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
1515
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
1616
apt-get update \
1717
&& apt-get install -y \
@@ -46,4 +46,4 @@ STOPSIGNAL SIGQUIT
4646

4747
# Set default command
4848
CMD ["nginx", "-g", "daemon off;"]
49-
```
49+
```

content/includes/waf/install-build-image.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Your folder should contain the following files:
55

6-
- _nginx-repo.cert_
6+
- _nginx-repo.crt_
77
- _nginx-repo.key_
88
- _nginx.conf_
99
- _entrypoint.sh_
@@ -13,13 +13,13 @@ Your folder should contain the following files:
1313
To build an image, use the following command, replacing `<your-image-name>` as appropriate:
1414

1515
```shell
16-
sudo docker build --no-cache --platform linux/amd64 --secret id=nginx-crt,src=nginx-repo.cert --secret id=nginx-key,src=nginx-repo.key -t <your-image-name> .
16+
sudo docker build --no-cache --platform linux/amd64 --secret id=nginx-crt,src=nginx-repo.crt --secret id=nginx-key,src=nginx-repo.key -t <your-image-name> .
1717
```
1818

1919
A RHEL-based system would use the following command instead:
2020

2121
```shell
22-
podman build --no-cache --secret id=nginx-crt,src=nginx-repo.cert --secret id=nginx-key,src=nginx-repo.key -t <your-image-name> .
22+
podman build --no-cache --secret id=nginx-crt,src=nginx-repo.crt --secret id=nginx-key,src=nginx-repo.key -t <your-image-name> .
2323
```
2424

2525
{{< call-out "note" >}}
@@ -44,4 +44,4 @@ Verify the new container is running using the `docker ps` command:
4444

4545
```shell
4646
docker ps
47-
```
47+
```

content/waf/install/docker.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -980,14 +980,14 @@ RUN wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.amaz
980980
RUN wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/app-protect-amazonlinux2023.repo
981981

982982
# Install F5 WAF for NGINX:
983-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
983+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
984984
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
985985
dnf -y install app-protect \
986986
&& dnf clean all \
987987
&& rm -rf /var/cache/yum
988988

989989
# Only use if you want to install and use the IP intelligence feature:
990-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
990+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
991991
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
992992
dnf -y install app-protect-ip-intelligence
993993

@@ -1037,12 +1037,12 @@ RUN printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg]
10371037
RUN wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
10381038

10391039
# Update the repository and install the most recent version of the F5 WAF for NGINX package (which includes NGINX Plus):
1040-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1040+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10411041
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10421042
apt-get update && apt-get install -y app-protect
10431043

10441044
# Only use if you want to install and use the IP intelligence feature:
1045-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1045+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10461046
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10471047
apt-get install -y app-protect-ip-intelligence
10481048

@@ -1081,14 +1081,14 @@ RUN dnf config-manager --set-enabled ol8_codeready_builder \
10811081
&& dnf clean all
10821082

10831083
# Install F5 WAF for NGINX:
1084-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1084+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10851085
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10861086
dnf -y install app-protect \
10871087
&& dnf clean all \
10881088
&& rm -rf /var/cache/dnf
10891089

10901090
# Only use if you want to install and use the IP intelligence feature:
1091-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1091+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10921092
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10931093
dnf install -y app-protect-ip-intelligence
10941094

@@ -1124,14 +1124,14 @@ RUN wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo
11241124
&& dnf clean all
11251125

11261126
# Install F5 WAF for NGINX:
1127-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1127+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11281128
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11291129
dnf install --enablerepo=codeready-builder-for-rhel-8-x86_64-rpms -y app-protect \
11301130
&& dnf clean all \
11311131
&& rm -rf /var/cache/dnf
11321132

11331133
# Only use if you want to install and use the IP intelligence feature:
1134-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1134+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11351135
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11361136
dnf install -y app-protect-ip-intelligence
11371137

@@ -1166,14 +1166,14 @@ RUN dnf config-manager --set-enabled crb \
11661166
&& dnf clean all
11671167

11681168
# Install F5 WAF for NGINX:
1169-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1169+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11701170
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11711171
dnf install -y app-protect \
11721172
&& dnf clean all \
11731173
&& rm -rf /var/cache/dnf
11741174

11751175
# Only use if you want to install and use the IP intelligence feature:
1176-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1176+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11771177
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11781178
dnf install -y app-protect-ip-intelligence
11791179

@@ -1208,14 +1208,14 @@ RUN dnf config-manager --set-enabled crb \
12081208
&& dnf clean all
12091209

12101210
# Install F5 WAF for NGINX:
1211-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1211+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12121212
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12131213
dnf install -y app-protect \
12141214
&& dnf clean all \
12151215
&& rm -rf /var/cache/dnf
12161216

12171217
# Only use if you want to install and use the IP intelligence feature:
1218-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1218+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12191219
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12201220
dnf install -y app-protect-ip-intelligence
12211221

@@ -1265,12 +1265,12 @@ RUN printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg]
12651265
RUN wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
12661266

12671267
# Update the repository and install the most recent version of the F5 WAF for NGINX package (which includes NGINX Plus):
1268-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1268+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12691269
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12701270
apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y app-protect
12711271

12721272
# Only use if you want to install and use the IP intelligence feature:
1273-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1273+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12741274
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12751275
apt-get install -y app-protect-ip-intelligence
12761276

content/waf/install/kubernetes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ If you are not using using `custom_log_format.json` or the IP intelligence featu
202202

203203
Your folder should contain the following files:
204204

205-
- _nginx-repo.cert_
205+
- _nginx-repo.crt_
206206
- _nginx-repo.key_
207207
- _Dockerfile_
208208

0 commit comments

Comments
 (0)