Postgresql: default SUBNET6 in pg_hba

master
Tim Möhlmann 5 years ago
parent ebd14f3715
commit dd07b0e3aa
No known key found for this signature in database
GPG Key ID: 3C584F2BE4411D79

@ -82,7 +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 mailu mailu {{ SUBNET6|default('::1/128') }} 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.

@ -0,0 +1 @@
Allow IPv6 authenticated connections in PostgreSQL pg_hba.conf
Loading…
Cancel
Save