diff --git a/privfrontends/templates/in/apps.Caddyfile b/privfrontends/templates/in/apps.Caddyfile index 416c5d8..23bafd2 100644 --- a/privfrontends/templates/in/apps.Caddyfile +++ b/privfrontends/templates/in/apps.Caddyfile @@ -241,6 +241,12 @@ matrixmpp.projectsegfau.lt https://matrixmpp.projectsegfau.lt:8448 { reverse_proxy :8446 { header_up X-Real-IP {remote_host} } + header /.well-known/matrix/* Content-Type application/json + header /.well-known/matrix/* Access-Control-Allow-Origin * + handle_path /.well-known/* { + root * /var/www/matrixmpp-well-known + file_server + } import acmedns }