fix: adapt pg conf to nupes.social
This commit is contained in:
@@ -92,6 +92,10 @@ local all all md5
|
|||||||
host all all 127.0.0.1/32 md5
|
host all all 127.0.0.1/32 md5
|
||||||
# IPv6 local connections:
|
# IPv6 local connections:
|
||||||
host all all ::1/128 md5
|
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
|
# Allow replication connections from localhost, by a user with the
|
||||||
# replication privilege.
|
# replication privilege.
|
||||||
#local replication postgres peer
|
#local replication postgres peer
|
||||||
|
@@ -56,7 +56,7 @@ external_pid_file = '/var/run/postgresql/13-main.pid' # write an extra PID fil
|
|||||||
|
|
||||||
# - Connection Settings -
|
# - 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;
|
# comma-separated list of addresses;
|
||||||
# defaults to 'localhost'; use '*' for all
|
# defaults to 'localhost'; use '*' for all
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
Reference in New Issue
Block a user