Closed jakearlen879 closed 3 years ago
Hey @jakearlen879,
Nice suggestion, it won't hurt to add the WORKER_PROCESSES
with a default value of auto
in the next release.
Hello @jakearlen879,
The WORKER_PROCESSES
is now available in the v1.3.0 release. See the list of environment variables for more information.
What's needed and why?
Is it possible for the
worker_processes
parameter to be configurable with an environment variable? It'll be useful for performance tuning.https://github.com/bunkerity/bunkerized-nginx/blob/master/confs/global/nginx.conf#L20
Implementations ideas
confs/global/nginx.conf:
worker_processes {{ WORKER_PROCESSES }};
confs/global/nginx-temp.conf:
worker_processes auto;
+ documentation