From 768d4c78bc28c4f422cb011c295f1a2cb570bcca Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 16 Dec 2023 14:48:08 +0100 Subject: [PATCH] fix: use nginx locations recommended by upstream https://github.com/matrix-org/sliding-sync#same-hostname --- hosts/nachtigall/apps/nginx-matrix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nachtigall/apps/nginx-matrix.nix b/hosts/nachtigall/apps/nginx-matrix.nix index afeb9c4..5d5217d 100644 --- a/hosts/nachtigall/apps/nginx-matrix.nix +++ b/hosts/nachtigall/apps/nginx-matrix.nix @@ -99,7 +99,7 @@ in }; # sliding-sync - "/sliding-sync" = { + "~ ^/(client/|_matrix/client/unstable/org.matrix.msc3575/sync)" = { proxyPass = "http://127.0.0.1:8011"; extraConfig = commonHeaders; };