postgres/bk/config/pg_hba.conf
2025-02-18 16:17:21 +03:00

29 lines
1.2 KiB
Plaintext

# PostgreSQL Client Authentication Configuration File
# TYPE DATABASE USER ADDRESS METHOD
# Local connections
local all all md5
# IPv4 local connections
host all all 127.0.0.1/32 md5
# IPv6 local connections
host all all ::1/128 md5
# Allow replication connections from any IP address
host replication all 0.0.0.0/0 md5
hostssl replication all 0.0.0.0/0 md5
host replication postgres 172.17.152.4/32 md5
# Allow connections from any IP address
host all all 0.0.0.0/0 md5
hostssl all all 0.0.0.0/0 md5
host masterdb postgres 0.0.0.0/0 md5
host replication postgres 172.17.152.4/32 md5
# Allow connections from the slave for normal operations
host all all 172.16.59.4/32 md5
# Allow all connections from any IP address for other purposes
host all all 0.0.0.0/0 md5