Let's try this for sliding sync support

This commit is contained in:
Lillian Violet 2024-04-15 16:56:18 +02:00
parent 5829cb9216
commit 5089a4fa9b

View file

@ -123,6 +123,14 @@ in {
add_header Access-Control-Allow-Origin "*"; add_header Access-Control-Allow-Origin "*";
''; '';
}; };
locations."/_matrix/client/unstable/org.matrix.msc3575/sync" = {
proxyPass = "http://backend_conduit/client/unstable/org.matrix.msc3575/sync";
proxyWebsockets = true;
extraConfig = ''
proxy_set_header Host $host;
proxy_buffering off;
'';
};
extraConfig = '' extraConfig = ''
merge_slashes off; merge_slashes off;