我是靠谱客的博主 含蓄过客,这篇文章主要介绍nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:,现在分享给大家,希望可以做个参考。

先把nginx停下来,不能处于忙碌状态,可以撤销刚才修改的
在这里插入图片描述
然后到源码路径下,这个可以看看nginx的src目录,不一定在哪
进入目录后运行这个

./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module

在这里插入图片描述
然后make但是不要install


make

在进行覆盖,不停下来是没法覆盖的

cp ./objs/nginx /usr/local/nginx/sbin/

在这里插入图片描述验证一下没问题
在这里插入图片描述在修改ssl也没问题
在这里插入图片描述重启nginx

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

最后

以上就是含蓄过客最近收集整理的关于nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:的全部内容,更多相关nginx:内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(165)

评论列表共有 0 条评论

立即
投稿
返回
顶部