Use saltstack to put all the files first, and put them into a new directory independent of the directory where production is currently running. Then update the nginx configuration file in a unified manner. The main modification is to point the root directory to the new directory. Saltstack’s master call once nginx -s reload for all servers
Use saltstack to put all the files first, and put them into a new directory independent of the directory where production is currently running.
Then update the nginx configuration file in a unified manner. The main modification is to point the root directory to the new directory.
Saltstack’s master call once nginx -s reload for all servers