Skip to content

Commit

Permalink
Log errors to /dev/stderr
Browse files Browse the repository at this point in the history
[refs #e3378e148964]
  • Loading branch information
jfahrer committed May 5, 2018
1 parent 93492dc commit 63c7eac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx/Dockerfile
Expand Up @@ -3,6 +3,7 @@ FROM debian:buster-slim
RUN apt-get update
RUN apt-get install -y nginx
RUN rm /var/log/nginx/access.log && ln -s /dev/stdout /var/log/nginx/access.log
RUN rm /var/log/nginx/error.log && ln -s /dev/stderr /var/log/nginx/error.log

CMD ["/usr/sbin/nginx", "-g", "daemon off;"]

0 comments on commit 63c7eac

Please sign in to comment.