From 433a58fdfc8e9b12875617211b1a4901ba34df3c Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Fri, 18 Sep 2026 08:11:54 -0300 Subject: [PATCH] Enable directory browsing for file nginx --- apps/infra/file-nginx.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/infra/file-nginx.yaml b/apps/infra/file-nginx.yaml index c5b5121..7311b75 100644 --- a/apps/infra/file-nginx.yaml +++ b/apps/infra/file-nginx.yaml @@ -19,6 +19,8 @@ spec: metadata: labels: app: file-nginx + annotations: + checksum/file-nginx-conf: "03f20da7304eb251b0c382fcfb0d76203945324404034b71f17539cd863e7139" spec: containers: - name: nginx @@ -83,11 +85,14 @@ data: server_name _; root /usr/share/nginx/data/file-nginx; - index index.html; autoindex on; + autoindex_exact_size off; + autoindex_localtime on; location / { + # Bypass the static welcome page so every directory is browsable. + index __directory_listing__; try_files $uri $uri/ =404; } }