-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Make it possible to customize /.well-known/matrix/client response #8739
Comments
That seems reasonable. |
I have the same need and was thinking about working on it, but I'm unsure about the best approach. We could specify the values returned by the What do you think? |
Add the following excerpt inside your nginx reverse proxy
|
I was trying to configure my homeserver to serve the same jitsi query for both element desktop and element web, since synapse serves it's own Nginx: https://domain.tld/.well-known/matrix/client When creating jitsi conferences from element-desktop, they would be redirected to I tried pointing So for element-web to use my jitsi server, it was as easy as editing the
And afterwards adding the following to nginx's .well-known.
And then when opening a conference in element-web, it goes to: To fix this we just need a way of editing synapse's |
I made this edit in the well_known.py well_known.py after making this entry, just rebuild the docker image. If feeling lazy to do that, then just edit this within the container and save as a separate image. The above is still a hack, I will try to make a PR so that this entry for the |
Description:
The response from the well-known endpoint is currently limited to the homeserver and identity server base urls. Chat clients like Element require that some settings are served through this endpoint, which is quite hard to do the way it's currently set up. Would it be possible to add a "well-known" section to homeserver.yaml where you can add custom values?
The text was updated successfully, but these errors were encountered: