fix: adapt pg conf to nupes.social

This commit is contained in:
VC
2024-07-05 11:53:22 +02:00
parent 593b35d1ad
commit 23b0d6c704
2 changed files with 5 additions and 1 deletions

View File

@@ -92,6 +92,10 @@ local all all md5
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
# IPv4 distant connections:
host all all 0.0.0.0/0 md5
# IPv6 distant connections:
host all all ::/0 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres peer

View File

@@ -56,7 +56,7 @@ external_pid_file = '/var/run/postgresql/13-main.pid' # write an extra PID fil
# - Connection Settings -
#listen_addresses = 'localhost' # what IP address(es) to listen on;
listen_addresses = '*' # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to 'localhost'; use '*' for all
# (change requires restart)