about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-03-20 13:25:34 +0100
committerGitHub <noreply@github.com>2023-03-20 13:25:34 +0100
commit6f8210495ca046a00d5b66ee3e4a940d1df5059b (patch)
treea9205ccbbf2e23c435956a075fc5c1727625e7a3 /nixos
parentccae7d35d80b28caaa290b402faf7c4a6a43f14a (diff)
parentdc5ffba52d2adae602086770c9521d7d6d7397b5 (diff)
Merge pull request #221684 from SuperSandro2000/portunus-localhost
nixos/portunus: fix portunus not only listening on localhost
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/portunus.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/portunus.nix b/nixos/modules/services/misc/portunus.nix
index f60cbe3477132..5504fb942968f 100644
--- a/nixos/modules/services/misc/portunus.nix
+++ b/nixos/modules/services/misc/portunus.nix
@@ -238,7 +238,7 @@ in
           PORTUNUS_SERVER_BINARY = "${cfg.package}/bin/portunus-server";
           PORTUNUS_SERVER_GROUP = cfg.group;
           PORTUNUS_SERVER_USER = cfg.user;
-          PORTUNUS_SERVER_HTTP_LISTEN = "[::]:${toString cfg.port}";
+          PORTUNUS_SERVER_HTTP_LISTEN = "127.0.0.1:${toString cfg.port}";
           PORTUNUS_SERVER_STATE_DIR = cfg.stateDir;
           PORTUNUS_SLAPD_BINARY = "${cfg.ldap.package}/libexec/slapd";
           PORTUNUS_SLAPD_GROUP = cfg.ldap.group;