Windows修改nginx.conf配置文件然后重新加载报错

nginx: [error] OpenEvent(“Globalngx_reload_5744”) failed (2: The system cannot find the file specif 今天配置Windows的nginx的

nginx: [error] OpenEvent(“Global\ngx_reload_5744”) failed (2: The system cannot find the file specif

今天配置Windows的nginx的时候在命令行使用nginx -s reload出现上述报错信息,原来是因为修改了本地的nginx.conf文件之后没有停止nginx进程,于是重新使用命令

nginx -s quit

先停止本地的nginx进程
然后再次启动

start nginx 

最后再次使用

nginx -s reload

重新加载配置信息就可以了

发布者:admin,转转请注明出处:http://www.yc00.com/web/1741228260a4329931.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信