For next time this patch breaks, if I don't feel like fixing it, a good approximation for this use case is sorting by modified time, e.g.: handle /downloads/Newsletters/* { file_server { browse ${./caddy-browse-template.html} { sort time desc } } }
This can go away if upstream decides to implement/merge a fix: https://github.com/caddyserver/caddy/issues/7226 This is mostly useful for the Newsletter downloads page: https://stjohnscccc.org/downloads/Newsletters/ Requested-By: Mom