Add homeserver response for matrix
This commit is contained in:
parent
7a1ea9c49f
commit
ae2b894f1f
|
@ -30,6 +30,7 @@
|
||||||
header /.well-known/matrix/* Content-Type application/json
|
header /.well-known/matrix/* Content-Type application/json
|
||||||
header /.well-known/matrix/* Access-Control-Allow-Origin *
|
header /.well-known/matrix/* Access-Control-Allow-Origin *
|
||||||
respond /.well-known/matrix/server `{"m.server": "matrix.xenia.me.uk:443"}`
|
respond /.well-known/matrix/server `{"m.server": "matrix.xenia.me.uk:443"}`
|
||||||
|
respond /.well-known/matrix/client `{"m.homeserver":{"base_url":"https://matrix.xenia.me.uk"}}`
|
||||||
'';
|
'';
|
||||||
caddy.virtualHosts."matrix.xenia.me.uk".extraConfig = ''
|
caddy.virtualHosts."matrix.xenia.me.uk".extraConfig = ''
|
||||||
reverse_proxy /_matrix/* localhost:8008
|
reverse_proxy /_matrix/* localhost:8008
|
||||||
|
|
Loading…
Reference in a new issue