pull/2/merge
Òscar Casajuana 2017-04-17 10:06:03 +00:00 committed by GitHub
commit c38ef333ea
1 changed files with 13 additions and 0 deletions

View File

@ -36,6 +36,19 @@ server {
# {{ ansible_managed }}
#
{% if item.upstreams is defined and item.upstreams is iterable %}
{% for upstream in item.upstreams %}
upstream {{ upstream.name }} {
server {{ upstream.server }};
{% if upstream.params is defined and upstream.params is iterable %}
{% for param in upstream.params %}
{{ param }}
{% endfor %}
{% endif %}
}
{% endfor %}
{% endif %}
#
# HTTP
#