Nginx-Fancyindex-Minimal
Minimal Nginx Fancyindex theme.
Usage
- Install the Fancy Index module with Nginx by compiling it or installing via nginx-extras.
- Add configuration options below into a server section in your Nginx config file.
- Copy the fancyindex/ directory to the root of your site.
- Restart or reload Nginx
Configuration
Example additions to your configuration.
location / {
fancyindex on; # Enable fancy indexes.
fancyindex_exact_size off; # Output human-readable file sizes.
fancyindex_header "/fancyindex/header.html";
fancyindex_footer "/fancyindex/footer.html";
}