当我运行时sbin/nginx -t
出现以下错误
[emerg]: the "ssl" parameter requires ngx_http_ssl_module in /root/cloudfoundry/.deployments/devbox/deploy/nginx/nginx-0.8.54/conf/nginx.conf:98
configuration file /root/cloudfoundry/.deployments/devbox/deploy/nginx/nginx-0.8.54/conf/nginx.conf test failed
答案1
你的 nginx 好像没有用 ngx_http_ssl_module 构建。查看输出,nginx -V
如果没有--with-http_ssl_module
参数,则 ssl 将不起作用