From 5bb3dedb966d300f15c79019a05362851211dcec Mon Sep 17 00:00:00 2001 From: EliasDeHondt Date: Mon, 13 Jan 2025 18:46:28 +0100 Subject: [PATCH] Change Nginx server port from 80 to 8080 in Dockerfile and default configuration --- Dockerfile | 2 +- default.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c55bb67..7f3532f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,6 @@ COPY ./manifest.json /usr/share/nginx/html/manifest.json COPY ./robots.txt /usr/share/nginx/html/robots.txt COPY ./sitemap.xml /usr/share/nginx/html/sitemap.xml -EXPOSE 80 +EXPOSE 8080 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/default.conf b/default.conf index 2bfa0082..fb470482 100644 --- a/default.conf +++ b/default.conf @@ -4,7 +4,7 @@ # @since 01/01/2020 # ############################ server { - listen 80; + listen 8080; server_name localhost; root /usr/share/nginx/html;