fancyindex on; fancyindex_localtime on; fancyindex_exact_size off; fancyindex_header "/fancyindex/header.html"; #fancyindex_ignore ""; # Making sure folder where files are don't show up in the listing. # Warning: if you use an old version of ngx-fancyindex, comment the last line if you # encounter a bug. See https://github.com/Naereen/Nginx-Fancyindex-Theme/issues/10 #fancyindex_name_length 255; # Maximum file name length in bytes, change as you like.