point discord bridge at the public url again

It was fetching avatars from 127.0.0.1
This commit is contained in:
Daniel Olsen 2022-12-12 16:05:50 +01:00
parent 8c6b73129b
commit ea4fe98055
1 changed files with 1 additions and 3 deletions

View File

@ -21,9 +21,7 @@ in
bridge = { bridge = {
bindAddress = "localhost"; bindAddress = "localhost";
domain = "pvv.ntnu.no"; domain = "pvv.ntnu.no";
# systemd-resolved reads hosts and redirects matrix->jokum->127.0.0.2 which nginx doesnt listen to homeserverUrl = "https://matrix.pvv.ntnu.no";
# 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)}";
}; };
provisioning.whitelist = [ "@dandellion:dodsorf\\.as" "@danio:pvv\\.ntnu\\.no"]; provisioning.whitelist = [ "@dandellion:dodsorf\\.as" "@danio:pvv\\.ntnu\\.no"];
relay.whitelist = [ ".*" ]; relay.whitelist = [ ".*" ];