nginx日常运维 pid丢失办法: 1、查找nginx进程ID ps -ef | grep nginx 2、将进程ID写入pid echo 1378 > /tmp/nginx.pid 3、重启nginx