From 4481ce601f188d383f2c3cb7a0ddd4d0309525f7 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 7 Jan 2024 16:22:24 +0100 Subject: [PATCH] nixos/mailman: increase nginx proxy timeout In my experience, just after boot, the default timeout of 60 seconds often isn't quite enough for Mailman. It's better for the user to have the request take a little longer than it is to 504. --- 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 76035625fbe1..49cce6a5f8ab 100644 --- a/nixos/modules/services/mail/mailman.nix +++ b/nixos/modules/services/mail/mailman.nix @@ -445,6 +445,7 @@ in { "${removeSuffix "/" cfg.serve.virtualRoot}/static/".alias = webSettings.STATIC_ROOT + "/"; }; }); + proxyTimeout = mkDefault "120s"; }; environment.systemPackages = [ (pkgs.buildEnv {