From 720e3ae4bf7ae72889c29cc9c8db5d5315413d4f Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 17 Jul 2024 11:48:31 +0200 Subject: [PATCH] fix: use ipv4 localhost instead of ipv6 --- modules/services/matrix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/matrix/default.nix b/modules/services/matrix/default.nix index e7d554c..9e04e27 100644 --- a/modules/services/matrix/default.nix +++ b/modules/services/matrix/default.nix @@ -86,7 +86,7 @@ in { # It's also possible to do a redirect here or something else, this vhost is not # needed for Matrix. It's recommended though to *not put* element # here, see also the section about Element. - locations."/".proxyPass = "http://[::1]:4321"; + locations."/".proxyPass = "http://127.0.0.1:4321"; # Forward all Matrix API calls to the synapse Matrix homeserver. A trailing slash # *must not* be used here. locations."/_matrix".proxyPass = "http://[::1]:8008";