ubuntu 安装nginx报错./configure: error: SSL modules require the OpenSSL library

安装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

原文地址:https://www.cnblogs.com/yangzp/p/14699063.html