forked from Drift/pvv-nixos-config
point discord bridge at the public url again
It was fetching avatars from 127.0.0.1
This commit is contained in:
parent
8c6b73129b
commit
ea4fe98055
|
@ -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 = [ ".*" ];
|
||||||
|
|
Loading…
Reference in New Issue