Skip to content

jacktseng831/Nginx-Fancyindex-Theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx-Fancyindex-Theme

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).

made-for-nginx

Screenshots:

light-theme dark-theme

Usage

  1. 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).
  2. Include the content of fancyindex.conf in your location directive (location / {.....}) in your nginx config (usually nginx.conf).
  3. Move the .theme/ folder to the root of the site directory.
  4. Restart/reload nginx.
  5. Check that it's working, and enjoy!

Configuration

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;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published