原已经安装好的nginx,现在需要添加一个未被编译安装的模块: nginx -V 可以查看原来编译时都带了哪些参数,看看nginx是哪个版本,去下载一个nginx的源码,解压 原来的参数:--prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module 步骤如下:1. 使用参数重新配置:./configure --prefix=/app/nginx -…