Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nginx): make worker_processes and worker_connections configurable #1632

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented Apr 16, 2024

PR Type

[x] Feature

What Is the Current Behavior?

worker_processes auto and worker_connections 1024 is currently hard coded in the nginx.conf and cannot easily be changed via deployment.

What Is the New Behavior?

nginx.conf is changed to a gomplate template and worker_processes and worker_connections are now configurable via environment variables NGINX_WORKER_PROCESSES and NGINX_WORKER_CONNECTIONS.

Does this PR Introduce a Breaking Change?

[x] No

Other Information

AB#95876

@shauke shauke added this to the 5.2 milestone Apr 16, 2024
@shauke shauke self-assigned this Apr 16, 2024
@shauke shauke added the enhancement Enhancement to an existing feature label Apr 16, 2024
@shauke shauke requested a review from dhhyi April 16, 2024 15:55
@shauke shauke force-pushed the feature/nginx_worker_connections_worker_processes branch from 59a6b2d to 803f977 Compare April 16, 2024 16:09
docs/guides/nginx-startup.md Outdated Show resolved Hide resolved
@shauke shauke force-pushed the feature/nginx_worker_connections_worker_processes branch from 803f977 to 422ba0f Compare April 22, 2024 07:30
@shauke shauke merged commit 8f6e86f into develop Apr 22, 2024
12 checks passed
@shauke shauke deleted the feature/nginx_worker_connections_worker_processes branch April 22, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants