Open instantdreams opened 1 year ago
Issue is now considered stale. If you want to keep it open, please comment :+1:
Issue is still relevant.
In the meantime, Traefik Hub with service discovery via labels provides configuration as code options.
Issue is now considered stale. If you want to keep it open, please comment :+1:
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/*.conf
filesAdditional 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.