From 9ac83bcd08d5b730e0109e57d4c26bc1f98b23b3 Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 25 Nov 2024 14:50:09 +0100 Subject: [PATCH] nixos/mailman: increase uwsgi buffer size otherwise results in 502 bad gateway errors with some clients (which send a lot of cookies?) Change-Id: I9aadedb7acde0388f060dbb82ccd8788f41ff0e6 (cherry picked from commit 4d8e8de0d9d66dfb2ee172e2cb3a854522eee6bc) --- nixos/modules/services/mail/mailman.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/mail/mailman.nix b/nixos/modules/services/mail/mailman.nix index 326052731a31a..e3c014a6c6557 100644 --- a/nixos/modules/services/mail/mailman.nix +++ b/nixos/modules/services/mail/mailman.nix @@ -595,6 +595,7 @@ in { plugins = ["python3"]; home = webEnv; http = "127.0.0.1:18507"; + buffer-size = 8192; } // (if cfg.serve.virtualRoot == "/" then { module = "mailman_web.wsgi:application"; }