From 015923746c4d3db65cb7eef3327b34532a7c1ae9 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 10 Dec 2024 20:02:29 +0800 Subject: nginx: autoindex -> fancyindex --- nginx/modules/fancyindex/fancyindex.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nginx/modules/fancyindex/fancyindex.conf (limited to 'nginx/modules/fancyindex/fancyindex.conf') diff --git a/nginx/modules/fancyindex/fancyindex.conf b/nginx/modules/fancyindex/fancyindex.conf new file mode 100644 index 0000000..914cf44 --- /dev/null +++ b/nginx/modules/fancyindex/fancyindex.conf @@ -0,0 +1,8 @@ +fancyindex on; +fancyindex_localtime on; +fancyindex_exact_size off; +fancyindex_header "/fancyindex/header.html"; +#fancyindex_ignore ""; # Making sure folder where files are don't show up in the listing. +# Warning: if you use an old version of ngx-fancyindex, comment the last line if you +# encounter a bug. See https://github.com/Naereen/Nginx-Fancyindex-Theme/issues/10 +#fancyindex_name_length 255; # Maximum file name length in bytes, change as you like. -- cgit v1.2.3-70-g09d2