1.通知旧nginx备份pid文件
kill -s SIGUSR2 <old_nginx master pid>
2.启动新nginx
./nginx
3.关闭旧nginx
.nginx -s quit
评论暂时关闭
评论暂时关闭