From 73277ac6c932ef93610c7ec3bb0f9f189a4a0c9c Mon Sep 17 00:00:00 2001 From: Jurn Wubben Date: Sun, 25 May 2025 18:21:49 +0200 Subject: [PATCH] Removed baseurl wellknown --- system/server/matrix.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/system/server/matrix.nix b/system/server/matrix.nix index a0bcbc4..1bbf847 100644 --- a/system/server/matrix.nix +++ b/system/server/matrix.nix @@ -54,12 +54,6 @@ in { }; caddy.virtualHosts = { - "jsw.tf".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.jsw.tf:443"}` - respond /.well-known/matrix/client `{"m.homeserver": {"base_url": "https://matrix.jsw.tf"}}` - ''; "matrix.jsw.tf".extraConfig = '' header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Access-Control-Allow-Origin *