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 了