NginxProxyManager / NginxProxyManager/nginx-proxy-manager
Add ability to configure "worker_processes"
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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