NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.19k stars 2.69k forks source link

Multiple regions nginx-proxy-manager #3272

Open redimongo opened 1 year ago

redimongo commented 1 year ago

We're currently utilizing Cloudflare GEO-DNS, which necessitates the establishment of multiple nginx-proxy-manager servers across various global locations.

However, a centralized management solution would greatly streamline operations. Is there a mechanism available, such as an API with CURL commands, to facilitate tasks like adding new proxy servers?

Our ideal scenario involves synchronizing all servers to ensure each proxy is mirrored across the network. It's worth noting that all servers are configured uniformly, so if it interacts with a DOCKER application, the proxy settings remain consistent throughout the network.

redimongo commented 1 year ago

Just wondering if anyone has suggestions for this? as we are currently actively looking for a solution.

olariuromeo commented 12 months ago

You could use reverse proxy with tengine in front of all instance like HI load balancing. all instance could orchestrate in different clusters with karmada & k8s and use HI entry point with nginx or tengine as a reverse proxy load balancer, the orchestration could be automatic depending on the traffic, I would use two types of nginx, one as a proxy server and one as a reverse proxy. I'm working on something similar right now, and I'd like to use the GUI from nginx proxy manager

redimongo commented 12 months ago

We will most likely end up coding our own system, as we believe there is some limitations to using this tool, while it is great for small businesses, for multi-region and syncing it's just not possible without a lot of modification.

Believe it or not, it's very easy to roll out a nodeJS app, that can update server KNGIX and then reload them with cronjobs on each server.

Ideally what you want to be able to do is write each server and then just paste that content on each server.

yes this tool allows for ease of use, but we are now talking about advance tools.

github-actions[bot] commented 5 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1:

Artucuno commented 5 months ago

+1