该模块默认不会构建,需要通过–with-http_random_index_module参数启用。
示例配置
location / {
random_index on;
}
random_index
语法:random_index on | off
默认:random_index off
上下文:location
启用或禁用location块中的random_index处理功能。
该模块默认不会构建,需要通过–with-http_random_index_module参数启用。
示例配置
location / {
random_index on;
}
random_index
语法:random_index on | off
默认:random_index off
上下文:location
启用或禁用location块中的random_index处理功能。