nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory) code example
Example: nginx: [error] open() "/run/nginx.pid" failed (2: No such file or directory)
sudo service nginx restart
sudo nginx -s reload -t
sudo nginx -s reload