Ref http://www.zrblog.net/16596.html 1 2 3 4 5 location / { autoindex on; autoindex_exact_size on; autoindex_localtime on; }