title: NGINX caching proxy fails with SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
body: <p>NGINX acting as a caching proxy encounters problems when fetching content from CloudFront server over HTTPS:</p>
  
  <p>This is the extract from the NGINX's error log:</p>
  
  <p>2014/08/14 16:08:26 [error] 27534#0: *11560993 SSL_do_handshake() failed (SSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure) while SSL handshaking to upstream, client: 82.33.49.135, server: localhost, request: "GET /static/images/media-logos/best.png HTTP/1.1", upstream: "<a href="https://x.x.x.x:443/static/images/media-logos/best.png">https://x.x.x.x:443/static/images/media-logos/best.png</a>",</p>
  
  <p>I tried different proxy setting like proxy_ssl_protocols and proxy_ssl_ciphers but no combination worked.</p>
  
  <p>Any ideas?</p>