From 65221ee40317f517d3fc846172d02e3dc36aec29 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sat, 21 Nov 2026 23:57:13 +0000 Subject: [PATCH] middleman: Set nginx workers through the module The nginx module now writes `worker_processes` itself, so the copy in `appendConfig` duplicated it and nginx failed its config test. Keep `auto` explicit through `services.nginx.workerProcesses`. Co-Authored-By: Claude Opus 5.5 --- nixos/boxes/colony/vms/shill/containers/middleman/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/boxes/colony/vms/shill/containers/middleman/default.nix b/nixos/boxes/colony/vms/shill/containers/middleman/default.nix index 55b5ee0..b87a3cd 100644 --- a/nixos/boxes/colony/vms/shill/containers/middleman/default.nix +++ b/nixos/boxes/colony/vms/shill/containers/middleman/default.nix @@ -253,10 +253,8 @@ in valid = "5s"; }; proxyResolveWhileRunning = true; + workerProcesses = "auto"; - appendConfig = '' - worker_processes auto; - ''; # Based on recommended*Settings, but probably better to be explicit about these appendHttpConfig = '' ${baseHttpConfig}