mirror of
https://github.com/Mailu/Mailu.git
synced 2025-02-15 13:33:21 +02:00
Merge #1257
1257: Allow local IPv6 connections to Postgres r=mergify[bot] a=tulir ## What type of PR? bug-fix ## What does this PR do? Fix postgres connection not working when IPv6 is enabled Co-authored-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
commit
564ca741a4
@ -82,6 +82,7 @@ local all all peer map=local
|
|||||||
host mailu mailu {{ SUBNET }} md5
|
host mailu mailu {{ SUBNET }} md5
|
||||||
host postgres health 127.0.0.1/32 trust
|
host postgres health 127.0.0.1/32 trust
|
||||||
# IPv6 local connections:
|
# IPv6 local connections:
|
||||||
|
host mailu mailu {{ SUBNET6 }} md5
|
||||||
host all all ::1/128 reject
|
host all all ::1/128 reject
|
||||||
# Allow replication connections from localhost, by a user with the
|
# Allow replication connections from localhost, by a user with the
|
||||||
# replication privilege.
|
# replication privilege.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user