Commit 3efe9126 authored by Ryan Herbert's avatar Ryan Herbert

docker/vidjil/Dockerfile undo log redirect

The nginx logs were redirected to stdout and stderr, however we need
them in files in order to display them in the vidjil admin page.
parent b35fdb3d
......@@ -43,8 +43,8 @@ run apt-get update ; DEBIAN_FRONTEND=noninteractive apt-get install --no-install
run cd /usr/share/vidjil/germline && make
run cd /usr/share/web2py && chown -R www-data:www-data .
run ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
#run ln -sf /dev/stdout /var/log/nginx/access.log \
# && ln -sf /dev/stderr /var/log/nginx/error.log
copy ./conf/gzip_static.conf /etc/nginx/conf.d/web2py/gzip_static.conf
copy ./conf/gzip.conf /etc/nginx/conf.d/web2py/gzip.conf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment