8 lines
443 B
Django/Jinja
8 lines
443 B
Django/Jinja
# Allow remote access to gis databases
|
|
{% for item in gis_database['allow_ips']['v4'] %}
|
|
hostssl {{ gis_database['databases'] | join(',') }} {{ gis_database['user'] }} {{ item }} scram-sha-256
|
|
{% endfor %}
|
|
{% for item in gis_database['allow_ips']['v6'] %}
|
|
hostssl {{ gis_database['databases'] | join(',') }} {{ gis_database['user'] }} {{ item }} scram-sha-256
|
|
{% endfor %}
|