When the production changed today, nginx -t succeeded in checking the syntax, but nginx -s reload failed.
nginx -s reload
reported the following error:
invalid PID number in'/run/pid'
Solution
ps -ef | grep nginx finds the process number of nginx master
and then echo "process number" >> /run/pid and then Reload is successful.