tobychui / zoraxy

A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!
https://zoraxy.aroz.org
GNU Affero General Public License v3.0
3.09k stars 188 forks source link

[ENHANCEMENTS] Cluster capability? #183

Open sahara101 opened 6 months ago

sahara101 commented 6 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

If the reverse proxy host goes down - all proxies stop working

Describe the solution you'd like A clear and concise description of what you want to happen.

Possibility to have a cluster of zoraxy, for HA.

Would this be possible?

Thanks!

tobychui commented 6 months ago

Well I mean you can always just setup two Zoraxy node with the same configs? Or you want config auto sync between two nodes? Without DDNS it is not possible to do auto-swap or something like that so I am not pretty sure what you meant by cluster.

sahara101 commented 6 months ago

I would only need to setup keepalived and assign a VIP. Yes, I do not know how I would sync the configs from master to slave. For example Pinole uses gravity-sync.

Tacioandrade commented 5 months ago

Well I mean you can always just setup two Zoraxy node with the same configs? Or you want config auto sync between two nodes? Without DDNS it is not possible to do auto-swap or something like that so I am not pretty sure what you meant by cluster.

In this case, I believe it would be a way to synchronize the settings between 2 or more zoraxy, both the generated certificates, the proxy, users, etc. In this case, the HA part for the application would be done by a DDNS or some tool at a higher level, such as the network gateway itself, but so as not to have to sync the configurations via rsync or something like that, sync compatibility of the Application-level data would be interesting.