From 259ad574d15c1b50e0766602b6b0b5ee39afd657 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Fri, 20 Mar 2026 11:19:13 +0100 Subject: [PATCH] Add autoindex to nginx conf --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index fa291a2..1ded8be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,5 @@ RUN npx nuxi generate FROM nginx:latest RUN rm /usr/share/nginx/html/* +RUN sed -i -e '/location.*\/.*{/a autoindex on\;' /etc/nginx/conf.d/default.conf COPY --from=build --chown=1000:1000 /app/.output/public /usr/share/nginx/html/