--with-http_random_index_module模块 作用: 从目录中随机选取一个随机作为主页 环境 nginx -V 检测是否已经安装了该模块 语法 案例 在/usr/share/nginx下随机创建3个html文件 修改配置文件