fix initalSync nginx locations

This commit is contained in:
Daniel Lovbrotte Olsen 2022-12-14 07:44:23 +01:00
parent e6dfcbe3ac
commit a2b4d2e341
1 changed files with 2 additions and 2 deletions

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;
'';