详细解释:nginx中ChsHttpIndexModule模块配置及各个参数含义
使用本模块可以指定默认文档:location/{
: indexindex.$geo.htmlindex.html;
}
index
语法: index file
默认值: index index.html
作用域: http, server, location
该指令用来指定用来做默认文档的文件名,可以在文件名处使用变量。 如果您指定了多个文件,那么将按照您指定的顺序逐个查找。 可以在列表末尾加上一个绝对路径名的文件。
示例:
indexindex.$geo.htmlindex.0.html/index.html;
参见
原始文档:http://sysoev.ru/nginx/docs/http/ngx_http_index_module.html
页:
[1]