Authored by chunhua.zhang

add port

@@ -99,7 +99,7 @@ http @@ -99,7 +99,7 @@ http
99 #brower service 99 #brower service
100 upstream brower { 100 upstream brower {
101 {% for i in groups['java-wechat'] %} 101 {% for i in groups['java-wechat'] %}
102 - server {{ i }} ; 102 + server {{ i }}:8092;
103 {% endfor %} 103 {% endfor %}
104 104
105 keepalive 100; 105 keepalive 100;
@@ -111,7 +111,7 @@ http @@ -111,7 +111,7 @@ http
111 upstream apigateway { 111 upstream apigateway {
112 112
113 {% for i in groups['java-gateway'] %} 113 {% for i in groups['java-gateway'] %}
114 - server {{ i }} max_fails=5 fail_timeout=3s; 114 + server {{ i }}:8080 max_fails=5 fail_timeout=3s;
115 {% endfor %} 115 {% endfor %}
116 116
117 keepalive 32; 117 keepalive 32;
@@ -125,7 +125,7 @@ http @@ -125,7 +125,7 @@ http
125 upstream activityApi{ 125 upstream activityApi{
126 126
127 {% for i in groups['java-activity'] %} 127 {% for i in groups['java-activity'] %}
128 - server {{ i }} ; 128 + server {{ i }}:8090;
129 {% endfor %} 129 {% endfor %}
130 130
131 keepalive 100; 131 keepalive 100;
@@ -136,7 +136,7 @@ http @@ -136,7 +136,7 @@ http
136 upstream apiWechat { 136 upstream apiWechat {
137 137
138 {% for i in groups['java-wechat'] %} 138 {% for i in groups['java-wechat'] %}
139 - server {{ i }} ; 139 + server {{ i }}:8094;
140 {% endfor %} 140 {% endfor %}
141 141
142 keepalive 100; 142 keepalive 100;
@@ -146,7 +146,7 @@ http @@ -146,7 +146,7 @@ http
146 upstream erpgateway { 146 upstream erpgateway {
147 147
148 {% for i in groups['java-erpgateway'] %} 148 {% for i in groups['java-erpgateway'] %}
149 - server {{ i }} ; 149 + server {{ i }}:8089;
150 {% endfor %} 150 {% endfor %}
151 151
152 keepalive 100; 152 keepalive 100;
@@ -157,7 +157,7 @@ http @@ -157,7 +157,7 @@ http
157 # union servers 157 # union servers
158 upstream union_pools { 158 upstream union_pools {
159 {% for i in groups['java-union'] %} 159 {% for i in groups['java-union'] %}
160 - server {{ i }} ; 160 + server {{ i }}:8088;
161 {% endfor %} 161 {% endfor %}
162 } 162 }
163 163