Is there a way to have autoindex only display certain files?
If I only want to display a file named
“the_nginx_mailing_list_guys_are_genuises*” - can I do that?
Posted at Nginx Forum:
Is there a way to have autoindex only display certain files?
If I only want to display a file named
“the_nginx_mailing_list_guys_are_genuises*” - can I do that?
Posted at Nginx Forum:
Sorry, I got a little ahead of myself.
If I only want to display all files named
“the_nginx_mailing_list_guys_are_genuises*” - can I do that?
Posted at Nginx Forum:
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
NGINX 3rd Party Modules | NGINX,
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
Francis D. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs