same as last commit but scram-sha-256

pull/139/head
Aevann 2023-03-13 19:03:07 +02:00
parent 989a2c4aa2
commit b6472012a6
1 changed files with 7 additions and 7 deletions

View File

@ -27,18 +27,18 @@
# maintenance (custom daily cronjobs, replication, and similar tasks). # maintenance (custom daily cronjobs, replication, and similar tasks).
# #
# Database administrative login by Unix domain socket # Database administrative login by Unix domain socket
local all postgres md5 local all postgres scram-sha-256
# TYPE DATABASE USER ADDRESS METHOD # TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only # "local" is for Unix domain socket connections only
local all all md5 local all all scram-sha-256
# IPv4 local connections: # IPv4 local connections:
host all all 127.0.0.1/32 md5 host all all 127.0.0.1/32 scram-sha-256
# IPv6 local connections: # IPv6 local connections:
host all all ::1/128 md5 host all all ::1/128 scram-sha-256
# 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 all md5 local replication all scram-sha-256
host replication all 127.0.0.1/32 md5 host replication all 127.0.0.1/32 scram-sha-256
host replication all ::1/128 md5 host replication all ::1/128 scram-sha-256