From dcc3c2310d479874907b7838da8edec7deb3c23a Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Thu, 29 Jul 2021 17:59:11 -0400 Subject: [PATCH] Minor changes --- Dockerfile | 2 +- docker/nginx.conf | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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;