about summary refs log tree commit diff
path: root/modules/nixos/matrix/dendrite.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/matrix/dendrite.nix (renamed from modules/nixos/matrix/dendrite.nix)3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/nixos/matrix/dendrite.nix b/modules/matrix/dendrite.nix
index 5e8a7e4..dafef00 100644
--- a/modules/nixos/matrix/dendrite.nix
+++ b/modules/matrix/dendrite.nix
@@ -55,6 +55,7 @@ in
             "= /.well-known/matrix/server" = {
               extraConfig = ''
                 add_header Content-Type application/json;
+                add_header Access-Control-Allow-Origin *;
               '';
               return = "200 '${generators.toJSON { } { "m.server" = "${cfg.domain}:443"; }}'";
             };
@@ -178,7 +179,7 @@ in
                   logging = [
                     {
                       type = "std";
-                      level = "warn";
+                      level = "info";
                     }
                   ];
                 };

Consider giving Nix/NixOS a try! <3