Authored by chunhua.zhang

add

... ... @@ -5,25 +5,3 @@ dc : "yoho-qcloud"
path: "/Data/local/openresty-1.9.15.1"
upstream_brower:
- 10.66.202.7:8092
- 10.66.202.32:8092
upstream_gateway:
- 10.66.202.13:8080
upstream_activity:
- 10.66.202.14:8090
upstream_wechat:
- 10.66.202.7:8094
upstream_erpgateway:
- 10.66.202.7:8089
upstream_union:
- 10.66.70.21:8088
- 10.66.70.49:8088
- 10.66.103.20:8088
... ...
... ... @@ -110,7 +110,7 @@ http
#apigatewaystart
upstream apigateway {
{% for i in upstream_gateway %}
{% for i in groups['java-gateway'] %}
server {{ i }} max_fails=5 fail_timeout=3s;
{% endfor %}
... ... @@ -124,7 +124,7 @@ http
# activity
upstream activityApi{
{% for i in upstream_activity %}
{% for i in groups['java-activity'] %}
server {{ i }} ;
{% endfor %}
... ... @@ -135,7 +135,7 @@ http
# wechat
upstream apiWechat {
{% for i in upstream_wechat %}
{% for i in groups['java-wechat'] %}
server {{ i }} ;
{% endfor %}
... ... @@ -145,7 +145,7 @@ http
# erp gateway
upstream erpgateway {
{% for i in upstream_erpgateway %}
{% for i in groups['java-erpgateway'] %}
server {{ i }} ;
{% endfor %}
... ... @@ -156,7 +156,7 @@ http
# union servers
upstream union_pools {
{% for i in upstream_union %}
{% for i in groups['java-union'] %}
server {{ i }} ;
{% endfor %}
}
... ...