fancyindex on; fancyindex_localtime on; fancyindex_exact_size off; # Specify the path to the header.html and foother.html files (server-wise) fancyindex_header "/nginx-fancyindex-theme/light-Theme/header.html"; fancyindex_footer "/nginx-fancyindex-theme/light-Theme/footer.html"; #fancyindex_header "/nginx-fancyindex-theme/dark-Theme/header.html"; #fancyindex_footer "/nginx-fancyindex-theme/dark-Theme/footer.html"; # Ignored files will not show up in the directory listing, but will still be public. fancyindex_ignore "examplefile.html"; # Making sure folder where these files are do not show up in the listing. fancyindex_ignore "ginx-ancyindex-theme"; # Maximum file name length in bytes, change as you like. fancyindex_name_length 255;