参考:https://www.cnblogs.com/ghjbk/p/6744131.html
如configure时遇到报错:./configure: error: SSL modules require the OpenSSL library.
先安装OpenSSL
yum -y install openssl openssl-devel
再执行configure
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module