Autoindex - Filter by filename?

Francis Daly francis at
Fri Nov 7 08:23:20 UTC 2014

On Thu, Nov 06, 2014 at 06:54:31PM -0500, mevans336 wrote:

Hi there,

> Is there a way to have autoindex only display certain files?

Using the stock nginx autoindex module, no.

Documentation is at

You could compile in a separate module that does do what you want -- there
is one likely-looking one listed on,
but I'm sure that others can exist.

Or you could put your preferred "autoindex" logic in a script which
nginx causes to be run as an argument to "index":

Francis Daly        francis at

More information about the nginx mailing list