nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory)

解决 /var/run/nginx.pid failed
nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory)
[root@TEST nginx]# sudo nginx -c /etc/nginx/nginx.conf
[root@TEST nginx]# nginx -s reload

你可能感兴趣的:(Nginx,nginx)