pid丢失办法: 1、查找nginx进程ID ps -ef | grep nginx 2、将进程ID写入pid echo 1378 > /tmp/nginx.pid 3、重启nginx 转载于:https://www.cnblogs.com/wanernet/p/6184337.html