## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} {%- from "nginx/map.jinja" import net with context %} {%- for key, value in net.ipv4_networks.items() %} allow {{ value.ip }}/{{ value.mask }}; {%- endfor %} {%- for key, value in net.ipv6_networks.items() %} allow {{ value.ip }}/{{ value.mask }}; {%- endfor %} deny all;