summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix2
1 files changed, 1 insertions, 1 deletions
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";
       };
     };