Fix ajp on chroot

This commit is contained in:
Ricardo Katz 2023-10-12 00:43:31 +00:00
parent d987371f5d
commit 0665009188

View file

@ -100,7 +100,7 @@ RUN apk add --no-cache libcap \
&& setcap -v cap_sys_chroot,cap_net_bind_service=+ep /usr/bin/dumb-init \
&& apk del libcap
COPY --from=ajp /ngx_http_ajp_module.so /etc/nginx/modules
COPY --from=ajp /ngx_http_ajp_module.so /chroot/etc/nginx/modules
RUN ln -sf /chroot/etc/nginx /etc/nginx \
&& ln -sf /chroot/tmp/nginx /tmp/nginx \