一个命令解决linux重启nginx就丢失pid文件问题

sudo nginx -c /etc/nginx/nginx.conf
原文地址:https://www.cnblogs.com/toyNotes/p/8617561.html