Solve the problem of starting nginx nginx.pid error

nginx: [error] open() “/usr/local/nginx/logs/nginx. pid” failed (2: No such file or directory)
[root@VM_16_6_centos sbin]# ./nginx -c /usr/local/nginx/conf/nginx.conf

Read More: