diff options
author | Rory& <root@rory.gay> | 2024-07-04 16:42:15 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-04 16:42:40 +0200 |
commit | 086952163490a2a8a4883aa2a5c30256266b83fa (patch) | |
tree | a259062a9cb41e3da527130f6276ec0e866e62dc /host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix | |
parent | Add missing workers (diff) | |
download | Rory-Open-Architecture-086952163490a2a8a4883aa2a5c30256266b83fa.tar.xz |
Set default nginx virtualhost
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix')
-rw-r--r-- | host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix | 3 |
1 files changed, 1 insertions, 2 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 4a097af..4d5069b 100644 --- a/host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix +++ b/host/Rory-nginx/services/matrix/synapse/workers/user-dir.nix @@ -46,7 +46,6 @@ in ]; } ]; - database = ( import ../db.nix { workerName = "user_dir"; @@ -57,7 +56,7 @@ in }; }; - services.nginx.virtualHosts."${nginxVirtualHostName}" = { + services.nginx.virtualHosts."${cfg.nginxVirtualHostName}" = { locations."^/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search$" = { proxyPass = "http://unix:/run/matrix-synapse/user_dir-client.sock"; }; |