From dcef6ff3e3874362a34db3bbd8cc43c958fd286f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 18 Nov 2019 14:15:05 +0200 Subject: [PATCH] Allow local IPv6 connections to Postgres --- optional/postgresql/conf/pg_hba.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/optional/postgresql/conf/pg_hba.conf b/optional/postgresql/conf/pg_hba.conf index 883fa3ad..a45aefc6 100644 --- a/optional/postgresql/conf/pg_hba.conf +++ b/optional/postgresql/conf/pg_hba.conf @@ -82,6 +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 all all ::1/128 reject # Allow replication connections from localhost, by a user with the # replication privilege.