mirror of
https://github.com/ctripcorp/zeus.git
synced 2024-09-22 00:26:05 +08:00
format
This commit is contained in:
parent
a3d8893bb4
commit
9e3d9dae26
|
@ -28,9 +28,9 @@ public class HealthCheckConf {
|
|||
.append(" type=http").append(";\n")
|
||||
.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\r\n\"").append(";\n")
|
||||
.append("GET ").append(h.getUri()).append(" HTTP/1.0\r")
|
||||
.append(" Connection: keep-alive\r")
|
||||
.append(" Host: ").append(vs.getDomains().get(0).getName()).append("\r\"").append(";\n")
|
||||
.append("check_http_expect_alive http_2xx http_3xx").append(";\n");
|
||||
return b.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue