summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2021-08-19 19:38:21 +0200
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2021-08-19 19:38:21 +0200
commitcc207c919097b9b1174a44180ab747c78e65fd1f (patch)
tree561f0be1ec4b0fd2c2992f24ff080b077bceb08f
parentca5364cd55bc866d131d476ecd3bf86f36e9e587 (diff)
downloadinfrastructure-cc207c919097b9b1174a44180ab747c78e65fd1f.tar.gz
webserver: fancy index fixes
-rw-r--r--baserock_webserver/files/download-baserock-org.conf5
-rw-r--r--baserock_webserver/files/irclogs-baserock-org.conf2
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;
}
}