nginx - File server deployment and setup on multiple servers
PHP中文网
PHP中文网 2017-05-16 17:21:26
0
1
535

Multiple servers under load balancing, file synchronization when publishing programs, what method does everyone use?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
阿神

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!