Merge pull request #32500 from srhb/logstash-locallisten

nixos/logstash: Listen on 127.0.0.1 instead of 0.0.0.0
This commit is contained in:
Joachim F 2017-12-11 22:00:38 +00:00 committed by GitHub
commit 4792523a3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -131,6 +131,12 @@ following incompatible changes:</para>
must be set to true. must be set to true.
</para> </para>
</listitem> </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> </itemizedlist>
</section> </section>

View file

@ -103,7 +103,7 @@ in
listenAddress = mkOption { listenAddress = mkOption {
type = types.str; type = types.str;
default = "0.0.0.0"; default = "127.0.0.1";
description = "Address on which to start webserver."; description = "Address on which to start webserver.";
}; };