Merge pull request #32500 from srhb/logstash-locallisten

nixos/logstash: Listen on 127.0.0.1 instead of 0.0.0.0

Changed files
+7 -1
nixos
doc
manual
release-notes
modules
services
logging
+6
nixos/doc/manual/release-notes/rl-1803.xml
···
must be set to true.
</para>
</listitem>
</itemizedlist>
</section>
···
must be set to true.
</para>
</listitem>
+
<listitem>
+
<para>
+
The option <option>services.logstash.listenAddress</option> is now <literal>127.0.0.1</literal> by default.
+
Previously the default behaviour was to listen on all interfaces.
+
</para>
+
</listitem>
</itemizedlist>
</section>
+1 -1
nixos/modules/services/logging/logstash.nix
···
listenAddress = mkOption {
type = types.str;
-
default = "0.0.0.0";
description = "Address on which to start webserver.";
};
···
listenAddress = mkOption {
type = types.str;
+
default = "127.0.0.1";
description = "Address on which to start webserver.";
};