./configure: error: SSL modules require the OpenSSL library.

安装nginx的时候出现

./configure: error: SSL modules require the OpenSSL library.

解决方法:

Centos需要安装openssl-devel
Ubuntu则需要安装:sudo apt-get install libssl-dev

原文地址:https://www.cnblogs.com/aallenn/p/6700567.html