nginx -s reload报错:
nginx: [error] open() "/tmp/nginx.pid" failed (2: No such file or directory)
输入以下命令就可以:
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
参考:
https://blog.csdn.net/zhouyufengqingyang/article/details/45420775
nginx -s reload报错:
nginx: [error] open() "/tmp/nginx.pid" failed (2: No such file or directory)
输入以下命令就可以:
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
参考:
https://blog.csdn.net/zhouyufengqingyang/article/details/45420775