User Tools

Site Tools


network:nginx_usage_and_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
network:nginx_usage_and_configuration [2019/11/16 11:16]
zhwiki [ngx_http_core_module]
network:nginx_usage_and_configuration [2021/01/10 08:10]
zhwiki removed
Line 341: Line 341:
 对于HTML格式,指定输出目录列表中的时间使用本地时区还是UTC。 对于HTML格式,指定输出目录列表中的时间使用本地时区还是UTC。
  
-==== Other Modules ​====+==== ngx_http_index_module ​====
  
 +ngx_http_index_module模块处理以斜杠(''/''​)结尾的请求。 此类请求也可以由ngx_http_autoindex_module和ngx_http_random_index_module模块处理。
  
 +=== index ===
  
 +  * Syntax: index file ...;
 +  * Default: index index.html;
 +  * Context: http, server, location
  
 +定义将用作index的文件。 文件名可以包含变量。 文件以指定顺序检查。 列表的最后一项可以是具有绝对路径的文件。 例如:
 +
 +  index index.$geo.html index.0.html /​index.html;​
 +
 +==== Other Module ====