mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[PR #850] [MERGED] Add new custom http.conf above includes for NPM-generated files #3306
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#3306
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/850
Author: @MooBaloo
Created: 1/28/2021
Status: ✅ Merged
Merged: 2/1/2021
Merged by: @jc21
Base:
develop← Head:master📝 Commits (1)
4ac52a0Add custom .conf above includes for NPM-generated files.📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
docker/rootfs/etc/nginx/nginx.conf(+3 -0)📄 Description
Added a new clause for custom http_top.conf above the include clauses for NPM-generated files. Allows for more flexibility with adding custom nginx .conf files to NPM
Use case: adding a configuration change needs to be present before other custom configuration files are called and reference configuration from the custom http_top.conf file.
Example: add a new log_format in http_top.conf, then referencing it in a access_log clause in server_proxy.conf.
Could also simply move the existing include for http.conf, but opted not to in case it breaks existing uses of http.conf.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.