From 437219bb68955d09ce09700280d56be091512271 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 13 Sep 2023 00:52:27 +0200 Subject: [PATCH] bicep/postgres: Enable unix socket auth --- hosts/bicep/services/postgres.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/bicep/services/postgres.nix b/hosts/bicep/services/postgres.nix index 9aecdae..f2d5131 100644 --- a/hosts/bicep/services/postgres.nix +++ b/hosts/bicep/services/postgres.nix @@ -11,8 +11,9 @@ in dataDir = "/data/postgresql"; authentication = '' - host all all 129.241.210.128/25 md5 - host all all 2001:700:300:1900::/64 md5 + local all all md5 + host all all 129.241.210.128/25 md5 + host all all 2001:700:300:1900::/64 md5 ''; # Hilsen https://pgconfigurator.cybertec-postgresql.com/