From 00a99c42f5d220d5573e46351b79642a5dba1e58 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 19 Jan 2024 16:53:35 +0300 Subject: [PATCH] Don't bind to localhost in postgres --- hosts/cube/postgresql.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/cube/postgresql.nix b/hosts/cube/postgresql.nix index c5a2500..6f74fdb 100644 --- a/hosts/cube/postgresql.nix +++ b/hosts/cube/postgresql.nix @@ -50,8 +50,10 @@ } ]; - # https://pgconfigurator.cybertec.at/ settings = { + listen_addresses = lib.mkForce ""; + + # https://pgconfigurator.cybertec.at/ max_connections = 100; superuser_reserved_connections = 3;