Hey! I am currently trying to setup a file list on 3 of my subdomains.
What is the directive needed to make Caddy NOT look for an index file, and rather list all files in the targeted root directory?
Thank you!
Hey! I am currently trying to setup a file list on 3 of my subdomains.
What is the directive needed to make Caddy NOT look for an index file, and rather list all files in the targeted root directory?
Thank you!
Hi @GreemDev, welcome to the Caddy community!
The directive you’re looking for is browse.
https://caddyserver.com/docs/browse
That said, even with this directive active, Caddy will still look for an index file - the directive works when it can’t find one. If you’ve got any in directories you’d rather use browse for, you’ll want to rename them.
Alright, that should work. Thank you!