"index off;" directive?
Fabiano Furtado
fabianofurtado at gmail.com
Mon Apr 27 12:22:59 UTC 2026
Hi!
On Sun, Apr 26, 2026 at 7:53 PM Maxim Dounin wrote:
>
> Hello!
>
> On Sat, Apr 25, 2026 at 09:40:35PM -0300, Fabiano Furtado wrote:
>
...
> I believe the main reason why this feature is not implemented yet
> is that nobody asked for it yet, probably because the workaround
> is trivial. Also, in most cases it is better to use index rather
> than autoindex, since autoindex is costly compared to sending an
> index file.
>
> I've asked Igor about this to make sure there are no other reasons
> I've overlooked, and he thinks the same.
>
> I personally don't mind implementing "index off;" to save a syscall
> when checking index files is not needed.
Wow! I honestly wasn't expecting this response, since I assumed there
was some technical reason why this feature hadn't been implemented
yet.
Anyway, I'm not sure if it's possible, but I'd like to try developing
this patch. Would it be okay if I tried to create this new patch?
Personally, I think the architecture and code quality of this project
are excellent, and I'm still learning the codebase. I see this as a
great opportunity to learn a bit more.
Thanks in advance.
Fabiano Furtado
More information about the nginx-devel
mailing list