nginx startup error
nginx: [error] open() "/usr/local/nginx/nginx.pid" failed (2: No such file or directory)
Solution: Find the folder directory of your nginx.conf, and then run this
nginx -c /usr/local/etc/nginx/nginx.conf
Run again
nginx -s reload
That’s it