mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #2444] [MERGED] Load events configuration from custom file #3568
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3568
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/2444
Author: @Blooym
Created: 12/2/2022
Status: ✅ Merged
Merged: 3/8/2023
Merged by: @jc21
Base:
develop← Head:develop📝 Commits (1)
3c23aa9Load events configuration from custom file📊 Changes
2 files changed (+2 additions, -1 deletions)
View changed files
📝
docker/rootfs/etc/nginx/nginx.conf(+1 -1)📝
docs/advanced-config/README.md(+1 -0)📄 Description
Changes
Instead of forcing users to mount a custom
nginx.conffile to modify the events configuration, we should instead allow them to use a/custom/events.conffile to modify it, as is standard for other advanced parts of NPMs configuration. It also reverts the defaultworker_connectionsamount to NGINX's default to prevent duplicate key issues if a user wants to set a customworker_connectionsamount.Rationale
I was consistently running into issues when using NPM as I was unable to modify my worker_connections amount without some hacky workarounds, so I wanted to make it as easy as changing other parts of the configuration.
Additional Information
Let me know if anything in this PR needs adjusting, I am by no means an NGINX expert and just wanted to upstream some of my local changes. If this is unwanted, feel free to just close the PR.
Linked Issues
Fixes #1435, #1912, #2388
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.