Skip to content

Commit

Permalink
fix log files position
Browse files Browse the repository at this point in the history
  • Loading branch information
phith0n committed Aug 28, 2017
1 parent 7942f9e commit 729e5c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/nginx/1.4.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ RUN set -ex \
&& rm -rf /tmp/nginx-${NGINX_VERSION} /tmp/pcre-8.40 /tmp/zlib-1.2.11 \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_TOOLS

RUN ln -sf /dev/stdout /var/log/access.log \
&& ln -sf /dev/stderr /var/log/error.log \
RUN ln -sf /dev/stdout /usr/local/nginx/logs/access.log \
&& ln -sf /dev/stderr /usr/local/nginx/logs/error.log \
&& ln -sf /usr/local/nginx/sbin/nginx /usr/sbin/nginx

EXPOSE 80 443
Expand Down

0 comments on commit 729e5c9

Please sign in to comment.