From d96f612c3bf24a70ed0e7c3fd9ac238ea4cdf6d8 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 4 Jul 2024 16:51:55 +0200 Subject: Fix nginx for user dir worker --- host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/Rory-nginx') diff --git a/host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix b/host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix index d97ec03..93ddee8 100644 --- a/host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix +++ b/host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix @@ -57,7 +57,7 @@ in }; services.nginx.virtualHosts."${cfg.nginxVirtualHostName}" = { - locations."^/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search$" = { + locations."~ ^/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search$" = { proxyPass = "http://unix:/run/matrix-synapse/user_dir-client.sock"; }; }; -- cgit 1.4.1