摘要:
ngx_http_autoindex_module 此模块用于自动生成目录列表,ngx_http_autoindex_module只在 ngx_http_index_module模块未找到索引文件时发出请求.nginx默认是不允许列出整个目录的。开启目录列表:打开nginx.conf文件,在location server 或 http段中加入autoindex on;http { include mime.types; default_type application/octet-stream; autoindex on;//自动显示目录 autoinde... 阅读全文