From 5585d9f18435e34138a934cae76199ce0fb04079 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 17 Sep 2023 23:41:39 -0700 Subject: [PATCH] Huh...where'd that come from? --- matrix-module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix-module.nix b/matrix-module.nix index 90f5698..25c65f5 100644 --- a/matrix-module.nix +++ b/matrix-module.nix @@ -49,7 +49,7 @@ in { hostname = mkOption { type = str; description = "Hostname at which the server can be reached."; - default = toplevel.config.services.matrixContainer.server-name; + default = toplevel.config.services.matrix.server-name; }; port = mkOption { @@ -167,12 +167,12 @@ in { ]; locations."/".extraConfig = "return 404;"; locations."/_matrix" = { - proxyPass = "http://localhost:${toString cfg.port}"; + proxyPass = "http://127.0.0.1:${toString cfg.port}"; recommendedProxySettings = true; proxyWebsockets = true; }; locations."/_synapse/client" = { - proxyPass = "http://localhost:${toString cfg.port}"; + proxyPass = "http://127.0.0.1:${toString cfg.port}"; recommendedProxySettings = true; proxyWebsockets = true; };