Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
6 years ago
Commit
76718303fb57c9d5960f1560ccc656aef5928a4c
1 parent
7a1cdfaa
add
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
roles/openresty/templates/nginx.conf.j2
roles/openresty/templates/nginx.conf.j2
View file @
7671830
...
...
@@ -133,11 +133,11 @@ http
server java-gateway-431f16063270008f.elb.cn-north-1.amazonaws.com.cn:8080 max_fails=5 fail_timeout=3s;
{% elif upstream_az == 'az1'%}
server 10.66.4.112:8080 max_fails=5 fail_timeout=3s;
{% else %}
}
{% else %}
{% for i in groups['java-gateway'] %}
server {{ i }}:8080 max_fails=5 fail_timeout=3s;
{% endfor %}
{% endif %}
}
{% endif %}
keepalive 32;
}
...
...
Please
register
or
login
to post a comment