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