1
1
mirror of https://github.com/dali99/nixos-matrix-modules.git synced 2024-12-22 02:47:29 +01:00

fix initalSync nginx locations

This commit is contained in:
Daniel Lovbrotte Olsen 2022-12-14 07:44:23 +01:00
parent e6dfcbe3ac
commit a2b4d2e341

View File

@ -206,13 +206,13 @@ in
'';
};
locations."~ ^/_matrix/client/(api/v1|r0|v3)/initialSync$" = {
proxyPass = "http://$synapse_initial_sync";
proxyPass = "http://synapse_worker_initial_sync";
extraConfig = ''
proxy_read_timeout 1h;
'';
};
locations."~ ^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$" = {
proxyPass = "http://$synapse_initial_sync";
proxyPass = "http://synapse_worker_initial_sync";
extraConfig = ''
proxy_read_timeout 1h;
'';