nginx windows下重新加载配置

时间:2016-08-06 11:29:30   收藏:0   阅读:2249

运行过程中,有个节点部分服务出现故障,像将其下线修复,

使用nginx -t; nginx -s reload 重新加载配置

得到错误"nginx: [error] OpenEvent("Global\ngx_reload_1868") failed (5: Access is denied)"

原因是 nginx 作为windows 服务在运行,安全性问题,不能执行

使用 psexec 执行这段,

技术分享

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!