Hi.
If you compile nginx yourself, its not necessary to update system libraries
You can use openssl 1.0.1 source and use
--with-openssl=/var/tmp/openssl-1.0.1e
switch to configure options, where folder is the path where you unpacked the source,
nginx will configure and compile openssl as static library while building nginx and then will link it into nginx
~GL