Files
mtusi2026lab7/infra/pg_hba.conf
T

9 lines
369 B
Plaintext

# Operator-only Unix socket; no socket is shared with app containers.
local all messenger trust
local all all reject
# Plaintext exists only in the db TLS sidecar's shared loopback namespace.
# The TLS boundary enforces the peer identity; PostgreSQL ALSO verifies SCRAM.
host all all 127.0.0.1/32 scram-sha-256
host all all ::1/128 reject
host all all 0.0.0.0/0 reject