2020-07-10 00:58:55 +02:00
|
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
2021-08-19 09:55:49 +02:00
|
|
|
{%- from "nginx/map.jinja" import net with context %}
|
|
|
|
{%- for key, value in net.ipv4_networks.items() %}
|
2020-07-10 00:58:55 +02:00
|
|
|
allow {{ value.ip }}/{{ value.mask }};
|
|
|
|
{%- endfor %}
|
2021-08-19 09:55:49 +02:00
|
|
|
{%- for key, value in net.ipv6_networks.items() %}
|
2020-07-10 00:58:55 +02:00
|
|
|
allow {{ value.ip }}/{{ value.mask }};
|
|
|
|
{%- endfor %}
|
|
|
|
deny all;
|