nginx: [error] open() "/usr/local/nginx/logs/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