diff options
| author | Max Audron <audron@cocaine.farm> | 2025-04-02 16:14:18 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-04-02 16:14:18 +0200 |
| commit | 4f369d95ccbf151f50c26c8f96abccb387051625 (patch) | |
| tree | ac6d9d9109d9f9dbf3f1bfb808704a8453aaafb2 | |
| parent | update nixpkgs-master (diff) | |
bind postgresql only to private addresses
| -rw-r--r-- | modules/postgresql/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/postgresql/default.nix b/modules/postgresql/default.nix index 3a59337..0e6d372 100644 --- a/modules/postgresql/default.nix +++ b/modules/postgresql/default.nix @@ -24,5 +24,9 @@ # ipv6 host all all ::1/128 trust ''; + + settings = { + listen_addresses = lib.mkForce "127.0.0.1,10.10.0.1,::1"; + }; }; } |
