Skip to content

Commit

Permalink
Fix TransportServers in debian AppProtect image
Browse files Browse the repository at this point in the history
Previously, the DockerfileWithAppProtectForPlus didn't create
the folder /etc/nginx/stream-conf.d. As a result, the IC wasn't
able to write generated config for TransportServers, because
the directory didn't exist.

The commit fixes the Dockerfile to create that folder.
  • Loading branch information
pleshakov committed Oct 7, 2020
1 parent dc03a96 commit 1f50d23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/appprotect/DockerfileWithAppProtectForPlus
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ RUN ln -sf /proc/1/fd/1 /var/log/nginx/access.log \
&& ln -sf /proc/1/fd/2 /var/log/nginx/error.log

RUN mkdir -p /var/lib/nginx \
&& mkdir -p /etc/nginx/stream-conf.d \
&& mkdir -p /etc/nginx/secrets \
&& mkdir -p /etc/nginx/waf \
&& mkdir -p /etc/nginx/waf/nac-policies \
Expand Down

0 comments on commit 1f50d23

Please sign in to comment.