网站有很多目录又不想生成导航怎么办?
Nginx也有这样的功能。

autoindex
syntax: autoindex [ on|off ]
default: autoindex off
context: http, server, location
激活/关闭自动索引

autoindex_exact_size
syntax: autoindex_exact_size [ on|off ]
default: autoindex_exact_size on
context: http, server, location
设定索引时文件大小的单位(B,KB, MB 或 GB) Template:Anchor

autoindex_localtime
syntax: autoindex_localtime [ on|off ]
default: autoindex_localtime off
context: http, server, location
开启以本地时间来显示文件时间的功能。默认为关(GMT时间)

实例xxx.richmediaplus.com.conf:

server
{
	listen 80;
	server_name xxx.richmediaplus.com;
	index index.html index.htm index.php default.html default.htm default.php;
	autoindex on;
	autoindex_exact_size off;
	autoindex_localtime on;
	root  /home/wwwroot/xxx.richmediaplus.com;
}

参考:http://wiki.nginx.org/NginxChsHttpAutoindexModule