Skip to content

Nginx worker|connection settings via .env#521

Merged
cytopia merged 4 commits into
masterfrom
docker-nginx
Mar 5, 2019
Merged

Nginx worker|connection settings via .env#521
cytopia merged 4 commits into
masterfrom
docker-nginx

Conversation

@cytopia
Copy link
Copy Markdown
Owner

@cytopia cytopia commented Mar 4, 2019

Nginx worker|connection settings via .env

Goal

Be able to set worker_processes and worker_connections for Nginx via .env

DESCRIPTION

This PR adds the option to change Nginx's worker_processes and worker_connections

New environment variables

Variable Type Default Description
HTTPD_NGINX_WORKER_CONNECTIONS int 1024 worker_connections
HTTPD_NGINX_WORKER_PROCESSES int or auto auto worker_processes

@cytopia cytopia self-assigned this Mar 4, 2019
@cytopia cytopia merged commit e8fa029 into master Mar 5, 2019
@cytopia cytopia deleted the docker-nginx branch March 5, 2019 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is it possible to adjust worker_processes or worker_connections ?

1 participant