...
|
...
|
@@ -99,7 +99,7 @@ http |
|
|
#brower service
|
|
|
upstream brower {
|
|
|
{% for i in groups['java-wechat'] %}
|
|
|
server {{ i }} ;
|
|
|
server {{ i }}:8092;
|
|
|
{% endfor %}
|
|
|
|
|
|
keepalive 100;
|
...
|
...
|
@@ -111,7 +111,7 @@ http |
|
|
upstream apigateway {
|
|
|
|
|
|
{% for i in groups['java-gateway'] %}
|
|
|
server {{ i }} max_fails=5 fail_timeout=3s;
|
|
|
server {{ i }}:8080 max_fails=5 fail_timeout=3s;
|
|
|
{% endfor %}
|
|
|
|
|
|
keepalive 32;
|
...
|
...
|
@@ -125,7 +125,7 @@ http |
|
|
upstream activityApi{
|
|
|
|
|
|
{% for i in groups['java-activity'] %}
|
|
|
server {{ i }} ;
|
|
|
server {{ i }}:8090;
|
|
|
{% endfor %}
|
|
|
|
|
|
keepalive 100;
|
...
|
...
|
@@ -136,7 +136,7 @@ http |
|
|
upstream apiWechat {
|
|
|
|
|
|
{% for i in groups['java-wechat'] %}
|
|
|
server {{ i }} ;
|
|
|
server {{ i }}:8094;
|
|
|
{% endfor %}
|
|
|
|
|
|
keepalive 100;
|
...
|
...
|
@@ -146,7 +146,7 @@ http |
|
|
upstream erpgateway {
|
|
|
|
|
|
{% for i in groups['java-erpgateway'] %}
|
|
|
server {{ i }} ;
|
|
|
server {{ i }}:8089;
|
|
|
{% endfor %}
|
|
|
|
|
|
keepalive 100;
|
...
|
...
|
@@ -157,7 +157,7 @@ http |
|
|
# union servers
|
|
|
upstream union_pools {
|
|
|
{% for i in groups['java-union'] %}
|
|
|
server {{ i }} ;
|
|
|
server {{ i }}:8088;
|
|
|
{% endfor %}
|
|
|
}
|
|
|
|
...
|
...
|
|