Skip to content

Instantly share code, notes, and snippets.

@ajayk
Last active August 10, 2018 12:35
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajayk/7d8b732151e820613ba0 to your computer and use it in GitHub Desktop.
Save ajayk/7d8b732151e820613ba0 to your computer and use it in GitHub Desktop.
An Nginx proxy error connecting to AWS api-gateway
2016/01/08 23:57:02 [error] 68363#0: *38 SSL_do_handshake() failed (SSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: "GET /api/providers HTTP/1.1", upstream: "https://xx.xx.xx.xx:443/stage", host: "localhost"
2016/01/08 23:57:02 [warn] 68363#0: *38 upstream server temporarily disabled while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: "GET /api/providers HTTP/1.1", upstream: "https://xx.xx.xx.xx:443/stage", host: "localhost"
@yuyudhan
Copy link

Any updates?? I am also getting this error while reverse proxying nginx to aws api gateway custom URL.

@cosbor11
Copy link

You need to upgrade to Nginx v1.7.9 and turn on: proxy_ssl_server_name.

@laurent-le-graverend
Copy link

Your comment was really helpful to me @cosbor11 !

@kylefoo
Copy link

kylefoo commented Feb 14, 2017

@cosbor11 thank you life savior!

@rafaeleyng
Copy link

Almost an year later, still saving lives!

@dlahyani
Copy link

Worked for me as well.
Thanks @cosbor11.

@ameetmk
Copy link

ameetmk commented Apr 17, 2018

worked for me too !

thanks @cosbor11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment