Nginx Directory Autoindex

Vladimir Homutov vl at nginx.com
Thu Mar 1 12:12:31 UTC 2018


On Wed, Feb 28, 2018 at 07:03:22PM +0100, Luciano Mannucci wrote:
>
> Hello all,
>
> I have a directory served by nginx via autoindex (That works perfectly
> as documented :). I need to show the content in reverse order (ls -r),
> is there any rather simple method?
>
> Thanks in advance,

Hello Luciano,

you can set http://nginx.org/en/docs/http/ngx_http_autoindex_module.html#autoindex_format
to XML and combine with http://nginx.org/en/docs/http/ngx_http_xslt_module.html
to get any listing that you desire.

>
> Luciano.
> --
>  /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
>  \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
>   X   AGAINST HTML MAIL    /  E-MAIL: posthamster at sublink.sublink.ORG
>  / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


More information about the nginx mailing list