{% for http in item.http if item.http is iterable %} http {{ http.name }} { {% filter indent(bind9_config_indent, true) %} {% if http.endpoints is defined and http.endpoints %} endpoints { {% filter indent(bind9_config_indent, true) %} {% for endpoint in http.endpoints %} {{ '"' + endpoint + '";' }} {% endfor %} {% endfilter %}}; {% endif%} {{ ('listener-clients ' + http.listener_clients | string + ';\n') if http.listener_clients is defined and http.listener_clients -}} {{ ('streams-per-connection ' + http.streams_per_connection | string + ';\n') if http.streams_per_connection is defined and http.streams_per_connection -}} {% endfilter %}}; {% endfor %}