nginx -s reload
报错
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
然后运行nginx -c /usr/local/etc/nginx/nginx.conf
再重启nginx,使用命令nginx -s reload
成功解决。
nginx -s reload
报错
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
然后运行nginx -c /usr/local/etc/nginx/nginx.conf
再重启nginx,使用命令nginx -s reload
成功解决。