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 <noreply@anthropic.com>
This commit is contained in:
1 parent
4d4404a254
commit
65221ee403
1 file changed
+1
-3
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user