I've posted this link in a separate article but I think it is more useful here.
https://wiki.mozilla.org/Security/Server_Side_TLS#Nginx_conf...
How to build openSSL statically into a source build of Nginx, just finished running this with nginx-1.4.7 and openSSL-1.0.1g and it compiled just fine. You'll have to tweak it to your environment of course.