You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
proxysql/test/infra/infra-pgsql17-repl/conf/pgsql/pgsql2/pg_hba.conf

24 lines
992 B

# PostgreSQL Client Authentication Configuration File (Replica)
# TYPE DATABASE USER ADDRESS METHOD
# Local connections
local all all trust
# IPv4 local connections
host all all 127.0.0.1/32 scram-sha-256
# IPv6 local connections
host all all ::1/128 scram-sha-256
# Replication connections (in case this replica is promoted to primary)
local replication all trust
host replication all 127.0.0.1/32 trust
host replication all ::1/128 trust
host replication replicator 0.0.0.0/0 md5
# Application connections from any host
host all all 0.0.0.0/0 scram-sha-256
# SSL connections
hostssl all all all cert