Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TransportServers in debian AppProtect image #1179

Merged
merged 1 commit into from
Oct 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix TransportServers in debian AppProtect image
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
commit 1f50d23e95cfa385149ed89f6cc379472e71c3f7
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