mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #3766] [MERGED] Add include for root_top.conf in the nginx.conf #3754
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#3754
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/3766
Author: @kroegerama
Created: 5/19/2024
Status: ✅ Merged
Merged: 7/1/2024
Merged by: @jc21
Base:
develop← Head:kroegerama-patch-1📝 Commits (2)
3ce477dadd include forroot_top.confin the nginx.confef23e79update advanced config documentation📊 Changes
2 files changed (+13 additions, -0 deletions)
View changed files
📝
docker/rootfs/etc/nginx/nginx.conf(+3 -0)📝
docs/src/advanced-config/index.md(+10 -0)📄 Description
This pull request allows custom configuration of the root config in the top of the file. This can be used to load modules, which is not possible at the end of the config file. There is already a
http_top.conf, soroot_top.confis a logical addition.The PR NginxProxyManager/docker-nginx-full#28 added the geoip2 module as requested in Issue #46. But currently there is no way to actually load the modules if you cannot mount custom files to
/etc/nginx/modules/like in the Truenas Scale NPM App.Now you can just add a
root_top.confto the persistent mounted/data/customfolder and add the following content:🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.