diff --git a/Dockerfile b/Dockerfile index abcc4fe..63302aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ USER 0 # install nginx RUN apt-get update && apt-get install nginx -y # copy our nginx configuration to overwrite nginx defaults -COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf +RUN rm /etc/nginx/conf.d/default.conf +COPY ./nginx/nginx.conf /etc/nginx/conf.d # link nginx logs to container stdout RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log diff --git a/nginx/default.conf b/nginx/nginx.conf similarity index 100% rename from nginx/default.conf rename to nginx/nginx.conf