diff --git a/Dockerfile b/Dockerfile index 09d77579..f75ca176 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN apt-get update && \ /etc/nginx/nginx.conf && \ chown -R www-data /var/log/nginx /var/lib/nginx/ RUN touch /run/nginx.pid && \ - chown -R www-data /run/nginx.pid + chown www-data /run/nginx.pid RUN ln -sf /dev/stdout /var/log/nginx/access.log && \ ln -sf /dev/stderr /var/log/nginx/error.log COPY --chown=www-data docker/nginx.conf /etc/nginx/nginx.conf diff --git a/docker/nginx.conf b/docker/nginx.conf index f2d9bfbe..fe0eac9b 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -1,5 +1,4 @@ daemon off; -# user www-data www-data; events {} http { include mime.types;