Nginx浏览目录配置
我们想要的功能。Nginx ngx_http_autoindex_module 模块该模块有以下几个命令:命令默认值值域作用域EGautoindexoffon:开启目录浏览;off:关闭目录浏览http, server, locationautoindex on;打开目录浏览功能autoindex_formathtmlhtml、xml、json、jsonp 分别用这几个风格展示目录http, server, locationautoindex_format html; 以网页的风格展示目录内容。该属性在1.7.9及以上适用autoindex_exact_sizeonon:展示文件字节数;of