05 2018 档案
nginx+tomcat负载均衡
摘要:1.配置两个不同端口的tomcat 2.配置nginx con/conf文件 upstream localhost{ #集群 localhost #所有的服务器都配置在一个集群内,由后面的location统一配置。 #ip_hash; server localhost:8080 weight=1;
阅读全文
SSLHandshakeException: Received fatal alert: handshake_failure
摘要:在请求连接之前,加上 System.setProperty("https.protocols", "TLSv1.2,TLSv1.1,SSLv3"); https.protocols可以设置一个,也可以设置多个,需要设置什么值,大家自己测试 所有类型:TLSv1.2,TLSv1.1,TLSv1.0,S
阅读全文
浙公网安备 33010602011771号