content 阶段的 index 模块
-
ngx_http_index_modula
;
- 功能:指定/ 访问时返回index 文件内容;
-
index
:
- syntax: index file…;
- default: index index.html;
- context: http, server, location
显示目录内容: content 阶段的 autoindex 模块
- 功能: 当URL 以/ 结尾时,尝试以 html/xml/json/jsonp 等格式返回 root/alias 中指向目录的目录结构;
- 模块:
ngx_http_autoindex_module
, 默认编译进 Nginx, --without-http_autoindex_module
取消
autoindex 模块的指令
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)