Yeah I was looking in github and there's no update for a year now... which
tbh might be about the same time I last used it :D
there's a default sorting option for name/data etc
https://github.com/aperezdc/ngx-fancyindex#fancyindex-default-sort
I do see a default_sort as a directive but not for "ascending" "descending"
(doesn't since supper hard to implement in the code though, but I'm not a C
expert....
Vladimir Homutov just suggested a different approach with the autoindex
module and xslt that seems to serve you're need, and that way there's no
need to install a 3rd party moduel :)
Melhores Cumprimentos // Best Regards
-----------------------------------------------
*Miguel Clara*
*IT - Sys Admin & Developer*
On Thu, Mar 1, 2018 at 11:54 AM, Luciano Mannucci <luciano@vespaperitivo.it>
wrote:
> On Wed, 28 Feb 2018 23:30:35 +0000
> Miguel C <miguelmclara@gmail.com> wrote:
>
> > I'm unsure if thats possible without 3rd party module...
> >
> > I've used fancyindex before when I wanted sorting.
> I don't find fancyindex module in 1.13.9. It seems that some of its
> features are now in autoindex. It is probably trivial to add an option
> to the configuration, something like "autoindex_reverse_sort" (set to
> off by default), though I don'nt know if it would be usefull for other
> nginx users...
>
> Thanks for your answer,
>
> 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@sublink.sublink.ORG
> / \ AND POSTINGS / WWW: http://www.lesassaie.IT/
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx