diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-10 20:02:29 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-10 20:02:29 +0800 |
commit | 015923746c4d3db65cb7eef3327b34532a7c1ae9 (patch) | |
tree | fca4a7a4df00ec9e8d0dcd16e65bd6982e0ac0b5 /nginx/modules/fancyindex/fancyindex.conf | |
parent | 8442e6126f13a98eb010e5495793807ffabdc0ca (diff) |
nginx: autoindex -> fancyindex
Diffstat (limited to 'nginx/modules/fancyindex/fancyindex.conf')
-rw-r--r-- | nginx/modules/fancyindex/fancyindex.conf | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ | |||
1 | fancyindex on; | ||
2 | fancyindex_localtime on; | ||
3 | fancyindex_exact_size off; | ||
4 | fancyindex_header "/fancyindex/header.html"; | ||
5 | #fancyindex_ignore ""; # Making sure folder where files are don't show up in the listing. | ||
6 | # Warning: if you use an old version of ngx-fancyindex, comment the last line if you | ||
7 | # encounter a bug. See https://github.com/Naereen/Nginx-Fancyindex-Theme/issues/10 | ||
8 | #fancyindex_name_length 255; # Maximum file name length in bytes, change as you like. | ||