Fix auth problem with pgpool
Cette révision appartient à :
Parent
67947cc4aa
révision
a29d612678
1 fichiers modifiés avec 4 ajouts et 8 suppressions
|
@ -1,13 +1,9 @@
|
|||
# TYPE DATABASE USER ADDRESS METHOD
|
||||
# For debugging purposes
|
||||
local "{{ nyaapantsu_dbname }}" "{{ nyaapantsu_user }}" md5
|
||||
local {{ nyaapantsu_dbname }} {{ nyaapantsu_user }} md5
|
||||
local all all peer
|
||||
# IPv4 local connections:
|
||||
host "{{ nyaapantsu_user }}" "{{ nyaapantsu_password }}" 127.0.0.1/32 md5
|
||||
host {{ nyaapantsu_dbname }} {{ nyaapantsu_user }} 127.0.0.1/32 md5
|
||||
# IPv6 local connections:
|
||||
host all all ::1/128 ident
|
||||
# Allow replication connections from localhost, by a user with the
|
||||
# replication privilege.
|
||||
#local replication postgres peer
|
||||
#host replication postgres 127.0.0.1/32 ident
|
||||
#host replication postgres ::1/128 ident
|
||||
# INFO: For some reason, we need IPv6 for pgpool-ii
|
||||
host {{ nyaapantsu_dbname }} {{ nyaapantsu_user }} ::1/128 md5
|
||||
|
|
Référencer dans un nouveau ticket