I am using autoindex
with nginx for a specific endpoint that lists a bunch of folders. Is it possible to change the sorting direction from alphabetical to by modified date?
Not without rewriting the module. You can use a PHP script to display whatever you like, or run a task which creates a html page. Or even use Lua to create this for you and check if something has changed, then either display from cache or re-generate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With