Disable sliding sync proxy
This commit is contained in:
parent
da1928e8ca
commit
c7d5cf033b
Binary file not shown.
|
@ -5,10 +5,6 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".root = "/var/www/graven.dev/public";
|
locations."/".root = "/var/www/graven.dev/public";
|
||||||
locations."~ ^/(client|_matrix/client/unstable/org.matrix.msc3575/sync)" = {
|
|
||||||
proxyPass = "http://127.0.0.1:8009";
|
|
||||||
priority = 900;
|
|
||||||
};
|
|
||||||
locations."~ ^(\\/_matrix|\\/_synapse\\/client)" = {
|
locations."~ ^(\\/_matrix|\\/_synapse\\/client)" = {
|
||||||
proxyPass = "http://127.0.0.1:8008";
|
proxyPass = "http://127.0.0.1:8008";
|
||||||
priority = 1000;
|
priority = 1000;
|
||||||
|
|
|
@ -66,10 +66,5 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.matrix-sliding-sync = {
|
|
||||||
enable = true;
|
|
||||||
settings.SYNCV3_SERVER = "https://graven.dev";
|
|
||||||
environmentFile = builtins.toString config.secrets.files.synapse_sliding_sync_env.file;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue