Setting the SSL protocol used on proxy_pass?

Edward Hibbert edward at
Tue Dec 30 09:44:17 UTC 2014

I am trying to set up a reverse proxy which handles SSL.  This is my first
time, so I may be doing something stupid.

On the NGINX which is acting as a proxy I get this:

SSL_do_handshake() failed (SSL: error:140770FC:SSL
routines:SSL23_GET_SERVER_HELLO:unknown protocol) while SSL handshaking to

On the NGINX which is upstream I am configured to only accept TLS, because
of recent SSL security problems.

        ssl_protocols               TLSv1.2 TLSv1.1 TLSv1;

I would guess that the problem here is that NGINX is opening the proxy
connection using the wrong SSL protocol.  Is there a way to control which
protocol it uses for the proxy connection?

Thanks for any help,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list