Skip to content

Commit

Permalink
Problem with multiple Upstream servers
Browse files Browse the repository at this point in the history
Small change to make it work.
  • Loading branch information
juliocbc authored Oct 6, 2018
1 parent 00465e0 commit 82a47c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
{% endif %}
{% endfor %}
{% for upstream_uuid, upstream in upstreamlist.items() %}
{% for upstream_serveruuid in upstream.serverentries.split(',') %}
upstream upstream{{ upstream_uuid.replace('-','') }} {
{% for upstream_serveruuid in upstream.serverentries.split(',') %}
{% set upstream_server = helpers.getUUID(upstream_serveruuid) %}
server {% if ':' in upstream_server.server %}[{% endif %}{{ upstream_server.server }}{% if ':' in upstream_server.server %}]{% endif
%}{% if upstream_server.port is defined %}:{{ upstream_server.port }}{% endif
Expand Down

0 comments on commit 82a47c3

Please sign in to comment.