From 4e35de5594a9968ccb6e1bd2cd311d400381ae48 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 20 Nov 2020 10:35:55 +0100 Subject: [PATCH] matrix: expose admin API --- matrix.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matrix.nix b/matrix.nix index c0cf2c8..6adf83b 100644 --- a/matrix.nix +++ b/matrix.nix @@ -48,8 +48,9 @@ in return 200 '${builtins.toJSON client}'; ''; - # Forward matrix API calls to synapse + # Forward matrix/admin API calls to synapse locations."/_matrix".proxyPass = "http://localhost:8448"; + locations."/_synapse".proxyPass = "http://localhost:8448"; };