Nginx Directory Autoindex
Luciano Mannucci
luciano at vespaperitivo.it
Fri Mar 2 11:33:40 UTC 2018
On Fri, 2 Mar 2018 10:33:45 +0000
James <list at xdrv.co.uk> wrote:
> I'd like the option of order by date, "ls -t", "ls -rt". This helps
> because the text order of numbers is "10 11 8 9", see:
>
> http://nginx.org/download/
Well, this is way less trivial than simply add a flag to reverse sort
order. It belongs indeed to fancyindex, that already does that:
fancyindex_default_sort
Syntax: fancyindex_default_sort [name | size | date | name_desc |
size_desc | date_desc]
Though you need to compile your own nginx to get that working (and
follow the module installation instructions :-).
Cheers,
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/
More information about the nginx
mailing list