Let's try this for sliding sync support
This commit is contained in:
parent
5829cb9216
commit
5089a4fa9b
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue