mirror of
https://github.com/ctripcorp/zeus.git
synced 2024-11-11 18:08:25 +08:00
update healthcheck
This commit is contained in:
parent
06b7e12736
commit
0040567fa5
1 changed files with 3 additions and 3 deletions
|
@ -51,9 +51,9 @@ public class HealthCheckConf {
|
|||
.append("check_keepalive_requests 100").append(";\n")
|
||||
.append("check_http_send \"")
|
||||
.append("GET ").append(h.getUri()).append(" HTTP/1.0\\r\\n")
|
||||
.append(" Connection: keep-alive\\r\\n")
|
||||
.append(" Host: ").append(vs.getDomains().get(0).getName()).append("\\r\\n")
|
||||
.append(" UserAgent: SLB HealthCheck ").append("\\r\\n\\r\\n\"").append(";\n")
|
||||
.append("Connection:keep-alive\\r\\n")
|
||||
.append("Host:").append(vs.getDomains().get(0).getName().trim()).append("\\r\\n")
|
||||
.append("UserAgent:SLB_HealthCheck").append("\\r\\n\\r\\n\"").append(";\n")
|
||||
.append("check_http_expect_alive http_2xx http_3xx").append(";\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue