0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #91128 from bbigras/rslsync-localhost

nixos/resilio: listen on [::1] by default
This commit is contained in:
Michele Guerini Rocco 2020-06-20 20:43:04 +02:00 committed by GitHub
commit 1eef920a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -490,6 +490,11 @@ systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www" ];
<link xlink:href="https://github.com/NixOS/nixpkgs/issues/89205">#89205</link>. <link xlink:href="https://github.com/NixOS/nixpkgs/issues/89205">#89205</link>.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
In the <literal>resilio</literal> module, <xref linkend="opt-services.resilio.httpListenAddr"/> has been changed to listen to <literal>[::1]</literal> instead of <literal>0.0.0.0</literal>.
</para>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>

View file

@ -109,8 +109,8 @@ in
httpListenAddr = mkOption { httpListenAddr = mkOption {
type = types.str; type = types.str;
default = "0.0.0.0"; default = "[::1]";
example = "1.2.3.4"; example = "0.0.0.0";
description = '' description = ''
HTTP address to bind to. HTTP address to bind to.
''; '';