From 99dbd18d07ee6414b39f1babe8b8d26957f24742 Mon Sep 17 00:00:00 2001 From: Milsim DK Date: Mon, 29 Apr 2024 22:11:31 +0200 Subject: [PATCH] Working on v1.1.1 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4418bf6..2e21d81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,4 +27,6 @@ LABEL org.opencontainers.image.licenses="GNU General Public License v3.0" # Copy OTS WebUI from build stage COPY --from=build /build /usr/share/nginx/html/ +RUN sed -ri -e "s!index index.html index.htm;!index index.html index.htm;\n\ttry_files \$uri /index.html;!g" /etc/nginx/conf.d/*.conf + EXPOSE 80