nginx:alert kill failed no such process

Nginx 命令无效

提示错误如下

nginx:alert kill failed no such process

解决方法:

需要重新制定配置文件地址, 进入sbin文件执行命令  ./nginx -c /usr/local/nginx/conf/nginx.conf

然后再次执行命令 ./nginx -s reload