依赖库的下载
yum install gcc-c++
yum install -y pcre pcre-devel
yum install -y openssl openssl-devel
yum install -y zlib zlib-devel
配置 编译
./configure --prefix=/opt/app/nginx/nginx --with-http_stub_status_module --with-http_ssl_module --with-file-aio --with-http_realip_modul
make
make install