enable support for TLSv1.1 and TLSv1.2

This patch enables support for TLSv1.1 and TLSv1.2 on nginx.