Browse Source

Add softlinks to stdout/stderror logs

master
Siroco 7 months ago
parent
commit
fc69a36e3c
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 1
      Dockerfile

1
Dockerfile

@ -15,6 +15,7 @@ RUN mkdir -p /var/lib/nginx/body && \
# Logging to stdout
RUN ln -sf /proc/self/fd /dev/
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
# PID nginx for non-root users
RUN mkdir -p /run/nginx && \

Loading…
Cancel
Save