From ea4fe98055320b9483cf17576ca9e001d6717ce7 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Mon, 12 Dec 2022 16:05:50 +0100 Subject: [PATCH] point discord bridge at the public url again It was fetching avatars from 127.0.0.1 --- hosts/jokum/services/matrix/discord.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/jokum/services/matrix/discord.nix b/hosts/jokum/services/matrix/discord.nix index 332f893..c9bc054 100644 --- a/hosts/jokum/services/matrix/discord.nix +++ b/hosts/jokum/services/matrix/discord.nix @@ -21,9 +21,7 @@ in bridge = { bindAddress = "localhost"; domain = "pvv.ntnu.no"; - # systemd-resolved reads hosts and redirects matrix->jokum->127.0.0.2 which nginx doesnt listen to - # this line points the bridge at whatever the ip for the main synapse listener is - homeserverUrl = "http://${lib.head (lib.attrNames config.services.nginx.upstreams.synapse_master.servers)}"; + homeserverUrl = "https://matrix.pvv.ntnu.no"; }; provisioning.whitelist = [ "@dandellion:dodsorf\\.as" "@danio:pvv\\.ntnu\\.no"]; relay.whitelist = [ ".*" ];