Add homeserver response for matrix

This commit is contained in:
Evie Litherland-Smith 2023-11-23 10:42:09 +00:00
parent 7a1ea9c49f
commit ae2b894f1f

View file

@ -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