Welcome! Log In Create A New Profile

Advanced

Re: Autoindex - Filter by filename?

Francis Daly
November 07, 2014 03:24AM
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
http://nginx.org/en/docs/http/ngx_http_autoindex_module.html

You could compile in a separate module that does do what you want -- there
is one likely-looking one listed on http://wiki.nginx.org/3rdPartyModules,
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": http://nginx.org/r/index

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Autoindex - Filter by filename?

mevans336 November 06, 2014 06:54PM

Re: Autoindex - Filter by filename?

mevans336 November 06, 2014 06:55PM

Re: Autoindex - Filter by filename?

Francis Daly November 07, 2014 03:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready