From b6b61f41efd9feae5d878aaca5a32230f797cd9f Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Fri, 27 Dec 2024 11:52:27 +0300 Subject: [PATCH] fix(nixin-web): keep local ip listeners --- modules/nixin-web.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/nixin-web.nix b/modules/nixin-web.nix index 24f9d87..c452def 100644 --- a/modules/nixin-web.nix +++ b/modules/nixin-web.nix @@ -36,6 +36,16 @@ in config = { services.nginx.virtualHosts."${config.nixin.web.domain}" = { listen = [ + { + addr = "127.0.0.1"; + port = config.nixin.web.http-port; + ssl = false; + } + { + addr = "[::1]"; + port = config.nixin.web.http-port; + ssl = false; + } { addr = config.nixin.wg.client.ipv4; port = config.nixin.web.http-port;