diff --git a/machines/heimdall/caddy/default.nix b/machines/heimdall/caddy/default.nix index 83aa010..6924ac1 100644 --- a/machines/heimdall/caddy/default.nix +++ b/machines/heimdall/caddy/default.nix @@ -23,8 +23,8 @@ extraConfig = '' header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Access-Control-Allow-Origin * - respond /.well-known/matrix/server `{"m.server": "matrix.boskma.frl:443"}` - respond /.well-known/matrix/client `{"m.homeserver": {"base_url": "https://matrix.boskma.frl"}}` + respond /.well-known/matrix/server `{"m.server":"matrix.boskma.frl:443"}` + respond /.well-known/matrix/client `{"m.homeserver": {"base_url":"https://matrix.boskma.frl"},"org.matrix.msc3575.proxy":{"url":"https://syncv3.boskma.frl"}}` ''; }; @@ -33,6 +33,12 @@ reverse_proxy /_matrix/* neo.barn-beaver.ts.net:8008 ''; }; + + "syncv3.boskma.frl" = { + extraConfig = '' + reverse_proxy / neo.barn-beaver.ts.net:8009 + ''; + }; }; }; }