diff --git a/hosts/VEGAS/services/matrix/default.nix b/hosts/VEGAS/services/matrix/default.nix index 02a8e4e..50e9b1b 100644 --- a/hosts/VEGAS/services/matrix/default.nix +++ b/hosts/VEGAS/services/matrix/default.nix @@ -118,7 +118,12 @@ in { access_log off; ''; }; - locations."= /.well-known/matrix/client".alias = clientConfigJSON; + locations."= /.well-known/matrix/client" = { + alias = clientConfigJSON; + extraConfig = '' + add_header Access-Control-Allow-Origin "*"; + ''; + }; }; }; systemd.services = lib.genAttrs [ "coturn" "matrix-appservice-discord" "matrix-synapse" ] (_: {