diff --git a/src/main/java/com/ctrip/zeus/nginx/conf/LocationConf.java b/src/main/java/com/ctrip/zeus/nginx/conf/LocationConf.java index ec6da129..2f097ebe 100644 --- a/src/main/java/com/ctrip/zeus/nginx/conf/LocationConf.java +++ b/src/main/java/com/ctrip/zeus/nginx/conf/LocationConf.java @@ -14,8 +14,11 @@ public class LocationConf { StringBuilder b = new StringBuilder(1024); b.append(" ").append("location ").append(getPath(slb, vs, app)).append("{").append("\n"); + b.append(" ").append(" proxy_pass http://").append(upstreamName).append(";\n"); - b.append(" ").append(" ").append(HealthCheckConf.generate(slb,vs,app)).append(";\n"); + //ToDo:health_check + //b.append(" ").append(" ").append(HealthCheckConf.generate(slb,vs,app)).append(";\n"); + b.append(" ").append("}").append("\n"); return b.toString();