From 576ceb6875700b53913423d803427427e166e7f3 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 30 Jan 2024 19:42:48 +0100 Subject: [PATCH 1/2] fix(matrix-synapse): mail hostname, missing tls setting on metrics listener --- hosts/nachtigall/apps/matrix/synapse.nix | 1 + secrets/matrix-synapse-secret-config.yaml.age | Bin 3224 -> 3153 bytes 2 files changed, 1 insertion(+) diff --git a/hosts/nachtigall/apps/matrix/synapse.nix b/hosts/nachtigall/apps/matrix/synapse.nix index 93cff67..50d26dd 100644 --- a/hosts/nachtigall/apps/matrix/synapse.nix +++ b/hosts/nachtigall/apps/matrix/synapse.nix @@ -74,6 +74,7 @@ in ]; } ]; + tls = false; type = "metrics"; } ]; diff --git a/secrets/matrix-synapse-secret-config.yaml.age b/secrets/matrix-synapse-secret-config.yaml.age index 3c3afab8d396c91c2186330e724bf87c05fc70e0..b6c9a22f08d248452168e5aafec90bdb01790f68 100644 GIT binary patch literal 3153 zcmZA0_g7N~1IF>Hs5J_xRqCiL71Rh>Hz5&=WZvY4>>U(LZpO_{Zq`j4C~k!+pddw2 zvF_d4ii%LQYNbWQg$Hod@m8@;#L-%P`%8c6U+_84InUQ%HD{RJFdFd&Y#w)}2elGH zBwR*Lvfqznm`!9VmBdK4afJ4;HJPi3B6;Dchvy_mWCE%llF@ZiR44FoO?t9Ys?lP6 zKFEgxY7T%4c(_7H<~Ih2VI>yDq&`4xfc%hJDg$9RUJQC{d?3p$mYU7F|7t-U%n^r^ z!w$Av?NLefpj(LuU{*B53PKv9BdmmB7d^mth+WKx#!HRJbvT1u&9vxgP9{WUGvpSl z7{p9I9>QXxPBP6S5h3AV1mZe;Y9jGp4fPw69XyVL$iy+N92WtjN-%?#2Z)Uj*TkT> zqy~jvt?;W=Rt-@?;t1G5aY&t|(AiidlxuWYY+N*p%9e&yEIN+j4tQAttJum=3p`|0 z$YwwSFBwr;@N&F36cl+;uSgP&61|MDldQ`kuq7Z(t&J$OOoh~Mv}th|6%Bw^9y5eT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p4C1GV~~=d4PR)oM+uP1rp4r`qaUr_TzB z#OWipC>aU5p7$N^>?0LDdpCC0q)9erz5j97p@C}?;IZ*nf4;ut%J>ZUXsP4@0s3n7 z&d8@XYln3PnybC$l*=8(nz=L9%rS}AJ@8$v%kLQ4mhxjPG@+|3l5q7SLg(RkPD*|b Juy4it{{gHyT^;}c From 031bab4a4edb5220034669a3ed5727826caccc1e Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 1 Feb 2024 11:21:10 +0100 Subject: [PATCH 2/2] fix(nextcloud): interned_strings_buffer should be powers of 2 --- hosts/nachtigall/apps/nextcloud.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nachtigall/apps/nextcloud.nix b/hosts/nachtigall/apps/nextcloud.nix index 547722e..8ff6e3e 100644 --- a/hosts/nachtigall/apps/nextcloud.nix +++ b/hosts/nachtigall/apps/nextcloud.nix @@ -108,7 +108,7 @@ }; phpOptions = { - "opcache.interned_strings_buffer" = "23"; + "opcache.interned_strings_buffer" = "32"; # https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#:~:text=opcache.jit%20%3D%201255%20opcache.jit_buffer_size%20%3D%20128m "opcache.jit" = "1255"; "opcache.jit_buffer_size" = "128M";