ginx 编译报错:SSL modules require the OpenSSL library
1 | ./configure: error: SSL modules require the OpenSSL library. |
在编译 Nginx 时遇到这样的错误,明显是缺少 openssl 环境,需要手动安装
CentOS
1 | $ yum -y install openssl openssl-devel |
Ubuntu
1 | $ apt -y install openssl openssl-devel |