r/nginxproxymanager • u/ToYoNiX • 1d ago
A tool to sync npm
I recently added a second machine to my homelab and started using 2 instances of Adguard Home on both one master and one backup and was using Adguard sync to help with that. I thought to my self can I do that with npm? But how? Like you can only have one IP for the reverse proxy?
I discovered keepalived and basically it was down to have a sync solution like Adguard Home to sync between the two instances. I didn't find a solution quite like adguard sync so I created one.
https://github.com/ToYoNiX/nginx-proxy-manager-sync
Due to limitations of the api, I can't sync tokens so certs are basically copied to the new instance. At the moment it can pull from a master and push to a backup and it works really good. Apparently if you searched google for Nginx Proxy Manager Sync it will recommend this project.
I hope it helps!
1
u/xylarr 18h ago
I just rsync everything between from my primary instance to my secondary instance.
I do have to stop both instances, but it's only down for a few seconds.