From 514379f8e5f08109c21ff37430f2f04a01d150b6 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Fri, 17 Jan 2025 10:50:17 +0100 Subject: [PATCH] Borro sites-available --- Dockerfile | 3 ++- nginx/{nginx.conf => default.conf} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename nginx/{nginx.conf => default.conf} (100%) diff --git a/Dockerfile b/Dockerfile index 42191da..5fcc243 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ USER 0 RUN apt-get update && apt-get install nginx -y # copy our nginx configuration to overwrite nginx defaults RUN rm /etc/nginx/sites-enabled/default -COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf +RUN rm /etc/nginx/sites-available/default +COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf # 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/nginx.conf b/nginx/default.conf similarity index 100% rename from nginx/nginx.conf rename to nginx/default.conf