I am trying to get nginx to ignore index.html
files and always show a directory listing from the autoindex
module.
If I remove my index
line, nginx still defaults to serving index.html
files, so that is not a solution.
A similar question was asked on Stack Overflow, but I am looking for a solution that does not involve inventing a bogus file name, if such a solution exists (not to mention the thread is off topic there).
How can I change my index
directive to tell nginx to never show index files?