My fancyindex
Find a file
2026-02-17 22:34:08 +03:00
background.png omagad 2026-02-17 22:34:08 +03:00
example.jpg omagad 2026-02-17 22:34:08 +03:00
footer.html omagad 2026-02-17 22:34:08 +03:00
header.html omagad 2026-02-17 22:34:08 +03:00
JetBrainsMono-Bold.ttf omagad 2026-02-17 22:34:08 +03:00
README.md omagad 2026-02-17 22:34:08 +03:00

My fancyindex

also you can see an example at https://cat.fs.tlpteam.ru/fancyindexexample/

Usage

clone repo to folder "fancyindex"

$ git clone https://cat.fs.tlpteam.ru/git/cat/myfancyindex.git fancyindex

now you can use it like this in nginx

location /files/ {
    fancyindex on;
    fancyindex_exact_size off;
    fancyindex_localtime on;
    fancyindex_header /fancyindex/header.html;
    fancyindex_footer /fancyindex/footer.html;
    try_files $uri $uri/ =404;
}