Skip to content

Commit 2b270a9

Browse files
committed
added jwt for docker
1 parent 7cc76be commit 2b270a9

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Your folder should contain the following files:
77

88
- _nginx-repo.crt_
99
- _nginx-repo.key_
10+
- _license.jwt_ (Only necessary when using NGINX Plus)
1011
- _nginx.conf_
1112
- _entrypoint.sh_
1213
- _Dockerfile_

content/waf/install/docker.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ The single container configuration only supports NGINX Plus and requires a build
4242
The steps you should follow on this page are dependent on your configuration type: after the shared steps, links will guide you to the next appropriate section.
4343

4444
## Download your subscription credentials
45+
### Shared Requirements
4546

4647
{{< include "licensing-and-reporting/download-certificates-from-myf5.md" >}}
4748

48-
[NGINX Plus JWT license]({{< ref "/nginx/admin-guide/installing-nginx/installing-nginx-plus.md#obtaining-and-installing-the-license" >}}) — required if NGINX Plus is used
49+
### Additional Requirement for NGINX Plus Users
50+
{{< include "licensing-and-reporting/download-jwt-from-myf5.md" >}}
4951

5052
## Configure Docker for the F5 Container Registry
5153

@@ -956,7 +958,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
956958
&& ln -sf /dev/stderr /var/log/nginx/error.log
957959

958960
# Copy configuration files:
959-
COPY nginx.conf custom_log_format.json /etc/nginx/
961+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
960962
COPY entrypoint.sh /root/
961963

962964
CMD ["sh", "/root/entrypoint.sh"]
@@ -998,7 +1000,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
9981000
&& ln -sf /dev/stderr /var/log/nginx/error.log
9991001

10001002
# Copy configuration files:
1001-
COPY nginx.conf custom_log_format.json /etc/nginx/
1003+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
10021004
COPY entrypoint.sh /root/
10031005

10041006
CMD ["sh", "/root/entrypoint.sh"]
@@ -1053,7 +1055,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
10531055
&& ln -sf /dev/stderr /var/log/nginx/error.log
10541056

10551057
# Copy configuration files:
1056-
COPY nginx.conf custom_log_format.json /etc/nginx/
1058+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
10571059
COPY entrypoint.sh /root/
10581060

10591061
CMD ["sh", "/root/entrypoint.sh"]
@@ -1099,7 +1101,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
10991101
&& ln -sf /dev/stderr /var/log/nginx/error.log
11001102

11011103
# Copy configuration files:
1102-
COPY nginx.conf custom_log_format.json /etc/nginx/
1104+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
11031105
COPY entrypoint.sh /root/
11041106

11051107
CMD ["sh", "/root/entrypoint.sh"]
@@ -1142,7 +1144,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
11421144
&& ln -sf /dev/stderr /var/log/nginx/error.log
11431145

11441146
# Copy configuration files:
1145-
COPY nginx.conf custom_log_format.json /etc/nginx/
1147+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
11461148
COPY entrypoint.sh /root/
11471149

11481150
CMD ["sh", "/root/entrypoint.sh"]
@@ -1184,7 +1186,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
11841186
&& ln -sf /dev/stderr /var/log/nginx/error.log
11851187

11861188
# Copy configuration files:
1187-
COPY nginx.conf custom_log_format.json /etc/nginx/
1189+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
11881190
COPY entrypoint.sh /root/
11891191

11901192
CMD ["sh", "/root/entrypoint.sh"]
@@ -1226,7 +1228,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
12261228
&& ln -sf /dev/stderr /var/log/nginx/error.log
12271229

12281230
# Copy configuration files:
1229-
COPY nginx.conf custom_log_format.json /etc/nginx/
1231+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
12301232
COPY entrypoint.sh /root/
12311233

12321234
CMD ["sh", "/root/entrypoint.sh"]
@@ -1281,7 +1283,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
12811283
&& ln -sf /dev/stderr /var/log/nginx/error.log
12821284

12831285
# Copy configuration files:
1284-
COPY nginx.conf custom_log_format.json /etc/nginx/
1286+
COPY nginx.conf custom_log_format.json license.jwt /etc/nginx/
12851287
COPY entrypoint.sh /root/
12861288

12871289
CMD ["sh", "/root/entrypoint.sh"]

0 commit comments

Comments
 (0)