当我运行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
看起来你的nginx没有用ngx_http_ssl_module构build。 如果没有--with-http_ssl_module
参数,查看nginx -V
的输出,那么ssl将不起作用