Preface#
Because I used to install and use Appnode on my servers, I quite like its cluster management and synchronization configuration file features. However, if I need to synchronize websites, it can be quite troublesome, often taking half an hour to manually synchronize. So I need such software. It is written in Flutter and operates through the Appnode API.
The "Control Center" refers to the main control, and the "Node" refers to the controlled end.#
Main Text#
First, open your Appnode, you need the control center, enable the API service, and set the port and secret key, as shown in the figure.
Then open the software, enter your IP port and your secret key, and click Save.
It will list all the servers on this control center.
I usually deploy static sites on the control center and then use synchronization commands to proceed.
You need to deploy your website or reverse proxy on the control center, and then you can synchronize as shown in the figure. You can select all servers and force synchronization. Forcing synchronization to the node will overwrite the existing content on your node and delete any sites on the node that are not included in your selections on the control center; if not selected, it will add new synchronization.
If you want to build your own CDN but have 30 sites, you can enable a VIP on the control center, and the nodes do not need it; synchronization can bypass the website limitations of the nodes.
You can also execute SSH commands in bulk.
For clearing CDN cache, you can directly use the bulk SSH command to remove the cache folder of that site.