"index off;" directive?
Maxim Dounin
mdounin at mdounin.ru
Tue Apr 28 00:04:28 UTC 2026
Hello!
On Mon, Apr 27, 2026 at 09:22:59AM -0300, Fabiano Furtado wrote:
> 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?
Yep, feel free to.
Just in case, some hints can be found here:
https://freenginx.org/en/docs/contributing_changes.html
--
Maxim Dounin
http://mdounin.ru/
More information about the nginx-devel
mailing list