原载于:文章来源:www.forasp.cn网站制作学习
nginx在做proxy 代理https 时,nginx 日志出现下面错误
 
 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 1.192.192.6, server: 0.0.0.0:443
 
解决方案: 需要在nginx 配置中添加 
   proxy_ssl_server_name on;
   proxy_ssl_session_reuse off;
 
该配置,可以添加到nginx server 中,页可以添加到nginx server 对应的location 中,添加后重启nginx 再次访问试试。

<%77w%77%2Ef%6F%72p%73%70%2Ec%6E>