summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services/matrix')
-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";
       };
     };