diff --git a/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF } diff --git a/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF } diff --git a/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF } diff --git a/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF }