From cc207c919097b9b1174a44180ab747c78e65fd1f Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 19 Aug 2021 19:38:21 +0200 Subject: webserver: fancy index fixes --- baserock_webserver/files/download-baserock-org.conf | 5 ++--- baserock_webserver/files/irclogs-baserock-org.conf | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/baserock_webserver/files/download-baserock-org.conf b/baserock_webserver/files/download-baserock-org.conf index 072b9772..93b33305 100644 --- a/baserock_webserver/files/download-baserock-org.conf +++ b/baserock_webserver/files/download-baserock-org.conf @@ -5,8 +5,7 @@ server { location / { root /srv/download.baserock.org/; index index.html; - autoindex on; - fancyindex on; # Enable fancy indexes. - fancyindex_exact_size off; # Output human-readable file sizes. + fancyindex on; + fancyindex_exact_size off; } } diff --git a/baserock_webserver/files/irclogs-baserock-org.conf b/baserock_webserver/files/irclogs-baserock-org.conf index 8168be1d..89971866 100644 --- a/baserock_webserver/files/irclogs-baserock-org.conf +++ b/baserock_webserver/files/irclogs-baserock-org.conf @@ -4,5 +4,7 @@ server { location / { root /srv/irclogs.baserock.org/; index index.html; + fancyindex on; + fancyindex_exact_size off; } } -- cgit v1.2.1