首页 > 代码库 > nginx check_http_send type=http 查检测不到后端TOM的存活

nginx check_http_send type=http 查检测不到后端TOM的存活

 

原因:定位到../conf/server.xml中

 <Connector port="8020" protocol="org.apache.coyote.http11.Http11NioProtocol"
               executor="tomcatThreadPool"
               connectionTimeout="20000"
               URIEncoding="UTF-8"  
               enableLookups="false" 
               redirectPort="8443"
               disableUploadTimeout="true" />
修改上面代码为:
 <Connector port="8020" protocol="HTTP/1.1"
                connectionTimeout="20000"
                redirectPort="8443" />
问题解决

 

nginx check_http_send type=http 查检测不到后端TOM的存活