前提:Ubuntu 源码包编译安装nginx时候添加openssl模块支持出现 如下提示:
OpenSSL library is not used
查询没有安装openssl类库和openssldev信息,安装后指定类库依然报同样的错误
最终把类库指向源码解压后文件夹才安装成功:
./configure --prefix=/usr/local/nginx --with-openssl=/usr/local/openssl源码解压包 --with-http_ssl_module
前提:Ubuntu 源码包编译安装nginx时候添加openssl模块支持出现 如下提示:
OpenSSL library is not used
查询没有安装openssl类库和openssldev信息,安装后指定类库依然报同样的错误
最终把类库指向源码解压后文件夹才安装成功:
./configure --prefix=/usr/local/nginx --with-openssl=/usr/local/openssl源码解压包 --with-http_ssl_module