nginx开启目录浏览

location / {
autoindex on;
autoindex_exact_size on;
autoindex_localtime on;
}