nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)处理方法

nginx重新加载配置文件是pid丢失:nginx -c /usr/local/etc/nginx/nginx.conf 指定到nginx配置文件后重新加载就行了 执行 nginx -s reload

你可能感兴趣的:(nginx)