Removed baseurl wellknown

This commit is contained in:
Jurn Wubben 2025-05-25 18:21:49 +02:00
parent c05aea36e6
commit a5209ce7bd

View file

@ -54,12 +54,6 @@ in {
}; };
caddy.virtualHosts = { 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 = '' "matrix.jsw.tf".extraConfig = ''
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 *