安装nginx的时候出现

./configure: error: SSL modules require the OpenSSL library.
解决方法:
1. Centos需要安装

yum -y install openssl openssl-devel

2. Ubuntu需要安装

sudo apt-get install libssl-dev

相关文章: