1.下载
官网地址 nginx news
下载地址 nginx: download
2.安装依赖
yum install -y readline-devel pcre-devel openssl-devel gcc
3.配置参数&变异安装
./configure --with-http_stub_status_module --with-http_addition_module --with-http_ssl_module --with-ipv6
make && make install