From 02636f76e947148ef5edbe516d78a937d54119b7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 27 Feb 2022 16:51:50 +0100 Subject: ... --- hosts/surtr/matrix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/surtr') 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; add_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type, Authorization'; add_header Access-Control-Max-Age 7200; ''; - in listToAttrs (map (n: nameValuePair n { proxyPass = "http://matrix-synapse"; }) ["_matrix" "_synapse/client" "_synapse/admin"]) // { + in listToAttrs (map (n: nameValuePair n { proxyPass = "http://matrix-synapse"; }) ["/_matrix" "/_synapse/client" "/_synapse/admin"]) // { "= /.well-known/matrix/server" = { extraConfig = '' default_type application/json; -- cgit v1.2.3