总是提示错误
nginx: [error] invalid PID number "" in "/run/nginx.pid"
解决:
手动创建 touch /run/nginx.pid
我是电脑创建完上传到run目录的,并赋予777权限了
```
root@A45:/# killall nginx
root@A45:/# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@A45:/# nginx -s reload
```