autoindex hiding dot folders

Maxim Dounin mdounin at mdounin.ru
Sat Oct 15 21:45:51 UTC 2011


Hello!

On Sat, Oct 15, 2011 at 05:41:39PM -0400, eiji-gravion wrote:

> Hello,
> 
> I'm using nginx 1.1.5 and when getting a directory listing via autoindex
> directories that start with a dot "." are not shown.

Yes.

> Is there an option to change this behavior or does anyone know where in
> the source code I can change this?

No, there is no option.  In source code it's in 
src/http/modules/ngx_http_autoindex_module.c:

        if (ngx_de_name(&dir)[0] == '.') {
            continue;
        }

Maxim Dounin



More information about the nginx mailing list