summary refs log tree commit diff
path: root/host/Rory-nginx/services
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-04 16:51:55 +0200
committerRory& <root@rory.gay>2024-07-04 16:51:55 +0200
commitd96f612c3bf24a70ed0e7c3fd9ac238ea4cdf6d8 (patch)
treee2d161593e74154bf45aadd0cd86a2c2905f6035 /host/Rory-nginx/services
parentFix user dir service name (diff)
downloadRory-Open-Architecture-d96f612c3bf24a70ed0e7c3fd9ac238ea4cdf6d8.tar.xz
Fix nginx for user dir worker
Diffstat (limited to 'host/Rory-nginx/services')
-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";
       };
     };