Files
PostgreSQL-Ansible/roles/postgres/templates/pg_hba.conf.j2
2026-01-29 14:27:03 +01:00

16 lines
572 B
Django/Jinja

# PostgreSQL 16 pg_hba.conf - Host Based Authentication
# TYPE DATABASE USER ADDRESS METHOD
# Local connections
local all postgres peer
local all all peer
# Replication from pg2 (10.0.0.2)
host replication replicator 10.0.0.2/32 md5
# Applications and MailArchiver
host all all 10.0.0.0/24 md5
# IPv6 local
host all all ::1/128 md5