NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Add ability to configure "worker_processes"

Open
#2,388 16 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Is your feature request related to a problem? Please describe.
For a home network/low traffic deployment the current setting of worker_processes auto; is overkill since it spawns an nginx process for every core.

Describe the solution you'd like
Provide a mechanism to override the current hard-coded "auto" setting.

Describe alternatives you've considered
I tried overriding the parameter via /data/nginx/custom/root.conf which resulted in an Nginx error:
nginx: [emerg] "worker_processes" directive is duplicate in /data/nginx/custom/root.conf:1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the container generates its nginx configuration and how /data/nginx/custom/root.conf is incorporated. Check where the hard-coded worker_processes auto; directive is defined and how a configurable override could avoid a duplicate directive. Done means a deployment can select the worker process count without an nginx startup error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.