Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fix auth problem with pgpool

Cette révision appartient à :
tomleb 2017-05-08 17:13:36 -04:00
Parent 67947cc4aa
révision a29d612678

Voir le fichier

@ -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