nginx报错:nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /project/api/nginx.conf:
报错原因:
未安装 ngx_http_ssl_module 模块
解决方法:
查看nginx安装了哪些模块
/usr/local/ngxin/sbin/nginx -V
nginx version: nginx/1.12.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
configure arguments:
configure arguments 后面没有任何参数,表示没有安装任何模块
安装 ngx_http_ssl_modu
原创
2021-10-25 11:05:17 ·
6899 阅读 ·
5 评论