nginx编译错误

./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.

解决方法:安装openssl

yum -y install openssl openssl-devel

https://blog.csdn.net/sanchan/article/details/51213382

你可能感兴趣的:(nginx编译错误)