Nginx-SSL_do_handshake()-failed

image

nginx做正向代理https遇到502错误返回,查看nginx的错误日志发现有大量的此类错误

1
SSL_do_handshake() failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) while SSL handshaking, client: 52.81.99.160

解决方法是在nginx配置文件location一栏中增加:

1
2
3
location / {
proxy_ssl_session_reuse off;
}

然后重启nginx

1
service nginx restart
-------------本文结束感谢您的阅读-------------
0%