From e7b7137711e4c0d39b731824193bc14737d0f9a5 Mon Sep 17 00:00:00 2001 From: cy Date: Sun, 29 Dec 2024 18:28:23 -0500 Subject: [PATCH] fix matrix delegation --- hosts/titan/Caddyfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/titan/Caddyfile b/hosts/titan/Caddyfile index fe10284..c2bba40 100644 --- a/hosts/titan/Caddyfile +++ b/hosts/titan/Caddyfile @@ -15,6 +15,8 @@ cything.io { import common reverse_proxy localhost:8084 + header /.well-known/matrix/* Content-Type application/json + header /.well-known/matrix/* Access-Control-Allow-Origin * respond /.well-known/matrix/server {"m.server":"chat.cything.io:443"} respond /.well-known/matrix/client {"m.server":{"base_url":"https://chat.cything.io"},"m.homeserver":{"base_url":"https://chat.cything.io"},"org.matrix.msc3575.proxy":{"url":"https://chat.cything.io"}} }