1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-15 00:05:11 +02:00

Postgresql: default SUBNET6 in pg_hba

This commit is contained in:
Tim Möhlmann
2020-05-03 22:39:44 +03:00
parent ebd14f3715
commit dd07b0e3aa
2 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,7 @@ local all all peer map=local
host mailu mailu {{ SUBNET }} md5
host postgres health 127.0.0.1/32 trust
# IPv6 local connections:
host mailu mailu {{ SUBNET6 }} md5
host mailu mailu {{ SUBNET6|default('::1/128') }} md5
host all all ::1/128 reject
# Allow replication connections from localhost, by a user with the
# replication privilege.