A nginx fancyindex theme based on Nginx-Fancyindex-Theme@Naereen. Comes with updated JQuery and Marked.js, a dark mode toggle, and file icons from (Nginxy-Theme)@ifelipe1501.
The fancyindex module can be found here (by @aperezdc). The fancyindex docker can be found here (by @byjg).
- Make sure you have the fancyindex module compiled with nginx, either by compiling it yourself or installing nginx via the full distribution (paquet
nginx-extras). - Include the content of fancyindex.conf in your location directive (
location / {.....}) in your nginx config (usuallynginx.conf). - Move the
.theme/folder to the root of the site directory. - Restart/reload nginx.
- Check that it's working, and enjoy!
A standard config looks something like this:
fancyindex on;
fancyindex_localtime on;
fancyindex_exact_size off;
# Specify the path to the header.html and foother.html files, that are server-wise,
fancyindex_header "/.theme/header.html";
fancyindex_footer "/.theme/footer.html";
# Making sure folder where these files are do not show up in the listing.
fancyindex_ignore ".theme";
fancyindex_name_length 255;
