summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/surtr/matrix/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix
index a2eccc2e..24a78853 100644
--- a/hosts/surtr/matrix/default.nix
+++ b/hosts/surtr/matrix/default.nix
@@ -99,7 +99,7 @@ with lib;
99 add_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type, Authorization'; 99 add_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type, Authorization';
100 add_header Access-Control-Max-Age 7200; 100 add_header Access-Control-Max-Age 7200;
101 ''; 101 '';
102 in listToAttrs (map (n: nameValuePair n { proxyPass = "http://matrix-synapse"; }) ["_matrix" "_synapse/client" "_synapse/admin"]) // { 102 in listToAttrs (map (n: nameValuePair n { proxyPass = "http://matrix-synapse"; }) ["/_matrix" "/_synapse/client" "/_synapse/admin"]) // {
103 "= /.well-known/matrix/server" = { 103 "= /.well-known/matrix/server" = {
104 extraConfig = '' 104 extraConfig = ''
105 default_type application/json; 105 default_type application/json;