I realize that this is an old topic, but I bumped into this issue as well and submitted a patch, which introduces an additional option to control whether hidden files are shown or not by the autoindex module. http://trac.nginx.org/nginx/ticket/557 Best Regards, Shin Posted at Nginx Forum: http://forum.nginx.org/read.php?2,216751,249918#msg-249918