From ed58ddbe2403023484bcd5a9eddaad4a3bcb6811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20=C3=96stberg?= Date: Fri, 2 Dec 2022 09:42:41 +0100 Subject: [PATCH] Avoid bad redirects due to port 8080 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 31ae91d..1864bac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM nginxinc/nginx-unprivileged:alpine +RUN sed -i '3 a\ absolute_redirect off;' /etc/nginx/conf.d/default.conf COPY . /usr/share/nginx/html/ EXPOSE 8080