diff options
Diffstat (limited to 'hosts/surtr')
-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"; }; |