Authored by root

同步ufo组名称

... ... @@ -41,8 +41,8 @@
with_items:
- nameservers
- ufo-nginx
- ufo-fore
- ufo-platform
- java-ufo-fore
- java-ufo-platform
- name: copy ufo api conf files to openresty
... ...
... ... @@ -63,7 +63,7 @@ http {
#ufo-gateway
upstream ufogateway {
{% for i in groups['ufo-fore'] %}
{% for i in groups['java-ufo-fore'] %}
server {{ i }}:8080 max_fails=5 fail_timeout=3s;
{% endfor %}
keepalive 32;
... ... @@ -72,7 +72,7 @@ http {
# ufo-gateway
upstream ufoplatform {
{% for i in groups['ufo-platform'] %}
{% for i in groups['java-ufo-platform'] %}
server {{ i }}:8088 max_fails=5 fail_timeout=3s;
{% endfor %}
... ...