模块 ngx_http_random_index_module
示例配置 Directives random_index |
该模块处理请求
以斜杠字符 ('') 结尾,并随机选择一个
文件作为索引文件。
该模块在 ngx_http_index_module 模块之前处理。ngx_http_random_index_module
/
默认情况下,此模块不是构建的,应使用 configuration 参数启用它。--with-http_random_index_module
示例配置
location / { random_index on; }
Directives
语法: |
random_index |
---|---|
默认值: |
random_index off; |
上下文: |
location |
启用或禁用周围位置的模块处理。