mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 01:15:51 +03:00
[PR #178] [MERGED] Allow including custom nginx conf files #3198
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#3198
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/178
Author: @cmer
Created: 7/26/2019
Status: ✅ Merged
Merged: 8/9/2019
Merged by: @jc21
Base:
master← Head:custom_nginx_includes📝 Commits (3)
56de662Allow including custom nginx conf filesd10b660Don't fail if file doesn't existe144199Advanced Nginx settings doc📊 Changes
5 files changed (+34 additions, -0 deletions)
View changed files
➕
doc/ADVANCED_NGINX.md(+17 -0)📝
rootfs/etc/nginx/nginx.conf(+5 -0)📝
src/backend/templates/proxy_host.conf(+2 -0)📝
src/backend/templates/redirection_host.conf(+2 -0)📝
src/backend/templates/stream.conf(+8 -0)📄 Description
Give advanced users more flexibility by allowing them to include custom config files at differents locations in the nginx configuration.
/data/nginx/custom/root.conf: Included at the very end of nginx.conf/data/nginx/custom/http.conf: Included at the end of the mainhttpblock/data/nginx/custom/server_proxy.conf: Included at the end of every proxyserverblock/data/nginx/custom/server_redirect.conf: Included at the end of every redirectionserverblock/data/nginx/custom/server_stream.conf: Included at the end of every streamserverblock/data/nginx/custom/server_stream_tcp.conf: Included at the end of every TCP streamserverblock/data/nginx/custom/server_stream_udp.conf: Included at the end of every UDP streamserverblock🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.