nixos/matrix-synapse: fix .well-known delegation of federated traffic
Synapse is reverse-proxied on ${fqdn} not ${config.networking.domain} and the .well-known delegation info must point to the domain on which synapse is hosted, see https://matrix-org.github.io/synapse/latest/delegate.html
This commit is contained in:
parent
9157b0d978
commit
bbc988ba00
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ let
|
|||
"m.homeserver".base_url = "https://${fqdn}";
|
||||
"m.identity_server" = {};
|
||||
};
|
||||
serverConfig."m.server" = "${config.services.matrix-synapse.settings.server_name}:443";
|
||||
serverConfig."m.server" = "${fqdn}:443";
|
||||
mkWellKnown = data: ''
|
||||
add_header Content-Type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
|
Loading…
Reference in a new issue