报错:nginx: [error] open() "/run/nginx.pid" failed (2: No such file or directory)
解决:
1. 执行:nginx -c /etc/nginx/nginx.conf
/etc/nginx/nginx.conf 是 ng 配置文件路径
2. 执行:nginx -s reload