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;