From 1f50d23e95cfa385149ed89f6cc379472e71c3f7 Mon Sep 17 00:00:00 2001 From: Michael Pleshakov Date: Wed, 7 Oct 2020 08:55:55 -0700 Subject: [PATCH] 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. --- build/appprotect/DockerfileWithAppProtectForPlus | 1 + 1 file changed, 1 insertion(+) diff --git a/build/appprotect/DockerfileWithAppProtectForPlus b/build/appprotect/DockerfileWithAppProtectForPlus index cde8998e59..89191174d1 100644 --- a/build/appprotect/DockerfileWithAppProtectForPlus +++ b/build/appprotect/DockerfileWithAppProtectForPlus @@ -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 \