GisServer/playbooks/templates/postgresql/pg_hba_remote.conf.j2

8 lines
443 B
Plaintext
Raw Normal View History

# 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 %}