diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 13:09:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 13:09:11 +0100 |
commit | f3bee1c66a56772f591892a676471799fe86367c (patch) | |
tree | cdce450d3f5eefd4ef3d3b645ca53d4ba02e07dc | |
parent | 77c406a0b86c9742479901498e51a48452a0fe49 (diff) | |
download | nixos-f3bee1c66a56772f591892a676471799fe86367c.tar nixos-f3bee1c66a56772f591892a676471799fe86367c.tar.gz nixos-f3bee1c66a56772f591892a676471799fe86367c.tar.bz2 nixos-f3bee1c66a56772f591892a676471799fe86367c.tar.xz nixos-f3bee1c66a56772f591892a676471799fe86367c.zip |
...
-rw-r--r-- | hosts/surtr/matrix/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index 6a955b40..02e2c7b9 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix | |||
@@ -92,7 +92,7 @@ | |||
92 | "/_synapse/client".proxyPass = "http://matrix-synapse"; | 92 | "/_synapse/client".proxyPass = "http://matrix-synapse"; |
93 | "= /.well-known/matrix/server" = { | 93 | "= /.well-known/matrix/server" = { |
94 | extraConfig = '' | 94 | extraConfig = '' |
95 | add_header Content-Type application/json; | 95 | default_type application/json; |
96 | ''; | 96 | ''; |
97 | return = "200 '${builtins.toJSON { | 97 | return = "200 '${builtins.toJSON { |
98 | "m.server" = "synapse.li:443"; | 98 | "m.server" = "synapse.li:443"; |
@@ -100,7 +100,7 @@ | |||
100 | }; | 100 | }; |
101 | "= /.well-known/matrix/client" = { | 101 | "= /.well-known/matrix/client" = { |
102 | extraConfig = '' | 102 | extraConfig = '' |
103 | add_header Content-Type application/json; | 103 | default_type application/json; |
104 | ''; | 104 | ''; |
105 | return = "200 '${builtins.toJSON { | 105 | return = "200 '${builtins.toJSON { |
106 | "m.homeserver" = { "base_url" = "https://synapse.li"; }; | 106 | "m.homeserver" = { "base_url" = "https://synapse.li"; }; |