我是靠谱客的博主 含蓄过客,这篇文章主要介绍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:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复