mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #2695] Configuration as Code : List of Proxy Hosts or Import Capability #1856
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#1856
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?
Originally created by @instantdreams on GitHub (Mar 16, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2695
Is your feature request related to a problem? Please describe.
My various servers use repositories to manage the configuration, including but not limited to:
The ability to define proxy hosts in a yaml or toml file that are automatically imported if not existing into an instance of NPM would save time, but more importantly provide robustness and repeatability in the event of having to fully rebuild a host.h
I run NPM on two edge servers, with scripts to backup and restore the configuration and database if needed, but an initial load would certainly help with 50+ proxy hosts.
Describe the solution you'd like
Support for a nginx-proxy-manager.yml file in a suitable mapped folder with an example format of:
Other clauses can be defined for Redirections, Streams, and 404s, but no DNS challenges or access list changes should be considered. This would be in order to perform the initial population of a fresh installation.
Describe alternatives you've considered
data/nginx/proxy_host/*.conffilesAdditional context
This would be a nice to have feature. The existing functionality of NPM make it worth using even if everything has to be set up from scratch with detailed documentation, rather than configuration as code.
@github-actions[bot] commented on GitHub (Jan 25, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@instantdreams commented on GitHub (Jan 25, 2024):
Issue is still relevant.
In the meantime, Traefik Hub with service discovery via labels provides configuration as code options.
@github-actions[bot] commented on GitHub (Nov 13, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Dec 1, 2025):
Issue was closed due to inactivity.