当前位置:   article > 正文

nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module

nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module

nginx启动,异常如下:

原因:nginx未开启:http_ssl_module

解决方法:

1、到 nginx目录下:

> cd /data01/bonc_zj/javaweb/nginx-1.8.0

2、查看nginx原有模块

> /usr/local/nginx/sbin/nginx -V

3、重新执行配置

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

4、重新编译安装

> make && make install

OK 了

 

转载于:https://www.cnblogs.com/qwbhome/p/8493138.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/662210
推荐阅读
相关标签
  

闽ICP备14008679号