From f3bee1c66a56772f591892a676471799fe86367c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Feb 2022 13:09:11 +0100 Subject: ... --- hosts/surtr/matrix/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts') 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 @@ "/_synapse/client".proxyPass = "http://matrix-synapse"; "= /.well-known/matrix/server" = { extraConfig = '' - add_header Content-Type application/json; + default_type application/json; ''; return = "200 '${builtins.toJSON { "m.server" = "synapse.li:443"; @@ -100,7 +100,7 @@ }; "= /.well-known/matrix/client" = { extraConfig = '' - add_header Content-Type application/json; + default_type application/json; ''; return = "200 '${builtins.toJSON { "m.homeserver" = { "base_url" = "https://synapse.li"; }; -- cgit v1.2.3