From c7d5cf033bb9678a5c20e77b6556d816a6e8e318 Mon Sep 17 00:00:00 2001 From: Amanda Graven Date: Wed, 6 Nov 2024 17:44:06 +0100 Subject: [PATCH] Disable sliding sync proxy --- config/hosts/wind/data/secrets/secrets.nix | Bin 1660 -> 1548 bytes config/hosts/wind/services/nginx.nix | 4 ---- config/hosts/wind/services/synapse.nix | 5 ----- 3 files changed, 9 deletions(-) diff --git a/config/hosts/wind/data/secrets/secrets.nix b/config/hosts/wind/data/secrets/secrets.nix index 47c5c6e576357d396caf46ad06a23932484a0caf..d95a37cdb202d2b8128269925995f2641737b549 100644 GIT binary patch literal 1548 zcmV+n2J`s7`#{)&_1;@C2C=Rbgeje|*;I$&n5{+G-;ni8^j5b%Sz>`O0jGY`d*?z-Ai=TKA=`vA^H9;9Ta?Vj(AB1y zc!7T&fm{tn`%3&%u)~aF135CX-(8%j$ePv)O4;&HJ~zdoc;EB2BSXW3I?bIBMqO_4 zkbX1>N*kwrt=|3%Ka7OIhgy&Ra!h0{XO8pw+MIKHox+;v8sWvL;0D>AX_s)N#M9OR zpb$=KC^O1@e(|yRj$SUe(_yB)5v2zL0nft{>z}>5@LdzwIy2Habl_*tBgxob57~vd zwNGBbmTfnZ%!}CuXBncP&DwVa3}gMF7y-E9g{i=k)FVk?hL(g#|1Vo2RhbY3sYg-V zq&2?SLwgVM_2dN+USUI$#tbkLOWK|1^xZ1?95k8ukmqIzVUc(f&{8LWSJh6L^#)Dc z-o@Q2^@{4Na+GfHH>^YKsrP$21fKErwdJOcJ$%1uP~_+*N;7>3RBp(etN0?FuFt4U zF!OzD(4lqjWyvnGUT$M#xlRH5Ut&Jf5fB`bLrJ9_I5Iv^!YDhftU}oPH{AQpsDh~_ zyz9lm>)u7VGN9FjfBQ*3UF+8dVdmCZ{E2A79su+_je%yAs2J_M*Rc9F4rg0t|9O)i z0@$yohM|Jl>ifQ3-Ln0~$-bp3mK7|pi($iAzcikW#8anI390bTEzG2o`c0v{P$B2(*d+e!E*r8 ze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5Kl+24XJlAV1$1r7<8$7!Xs_tMwqiS9w=vO>b=;!eeyFjU!~0e2B>+vJmbzeT~e z*avnm@K|T!%N~4^a(D0ldm!#tyIStL(VyO~XTN`1l)>sovYK+OhXUau3+}fc&H%Zh zM&8ZMHqPQaq`WGH?zhB@Qz-7gnxn(W^Mgl2vJ!95l>rYPEG*eRidK2bPHEebQ7LAv0`wI)0h|#K-vSnSKtJP-9iRq{FL4 zJ7Y&@SV(@%w29w7-yR5*g=K1VYcJ4Q`t8DWk?jGWzsG zimDwsFa=z)%JN?9HZf7~fuEJbRa|>U7xCk;oNTf~*Hh&kLJpi%nCXWtR~fc8rjG@q z0yi4sfO-Z`DG8x$?1L!Heu5Q7&bEM^9nge|fBw4C`D^#*&6$rRhmcK)v*{l5_HDz! GFwCHX$Ugc2 diff --git a/config/hosts/wind/services/nginx.nix b/config/hosts/wind/services/nginx.nix index ebafed1..48176d7 100644 --- a/config/hosts/wind/services/nginx.nix +++ b/config/hosts/wind/services/nginx.nix @@ -5,10 +5,6 @@ enableACME = true; forceSSL = true; 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)" = { proxyPass = "http://127.0.0.1:8008"; priority = 1000; diff --git a/config/hosts/wind/services/synapse.nix b/config/hosts/wind/services/synapse.nix index 8d4ab4d..c5899eb 100644 --- a/config/hosts/wind/services/synapse.nix +++ b/config/hosts/wind/services/synapse.nix @@ -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; - }; }