ngx_http_index_module

Module ngx_http_index_module

The ngx_http_index_module module processes requests ending with the slash character (‘/’). Such requests can also be processed by the ngx_http_autoindex_module and ngx_http_random_index_module modules.

Example Configuration

location / {
    index index.$geo.html index.html;
}

Directives

登录查看完整内容
Syntax: index file ...;
Default: index index.html;