nginx SSL error

When I run sbin/nginx -t I get the following error

[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

It looks like your nginx haven't been built with ngx_http_ssl_module. See the output of nginx -V if there is no --with-http_ssl_module parameter then ssl will not work