Enable matrix-sliding-sync
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m51s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m51s
This commit is contained in:
parent
20e5602a47
commit
0316e1c845
@ -104,6 +104,7 @@
|
||||
whatsapp = true;
|
||||
};
|
||||
usePostgresql = databases.postgresql.enable;
|
||||
slidingSync.enable = true;
|
||||
};
|
||||
nginx.enable = true;
|
||||
photoprism.enable = true;
|
||||
|
@ -136,7 +136,7 @@ in {
|
||||
"/_synapse/client".proxyPass = "http://localhost:8008";
|
||||
"~ ^/(client/|_matrix/client/unstable/org.matrix.msc3575/sync)" = lib.mkIf cfg.slidingSync.enable {
|
||||
priority = 100;
|
||||
proxyPass = "http://localhost:8009";
|
||||
proxyPass = "http://${config.services.matrix-sliding-sync.settings.SYNCV3_BINDADDR}";
|
||||
extraConfig = ''
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
'';
|
||||
|
Loading…
x
Reference in New Issue
Block a user