./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules, or install the OpenSSL library into the system, or build the OpenSSL library statically from the source with nginx by using --with-openssl= option
原因是编译支持https但缺少OpenSSL库文件。
解决办法:
yum install openssl openssl-devel -y
重新编译,问题解决。
转载请注明:西数超哥博客www.ysidc.top» Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法
https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top