nginx windows下重新加载配置

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

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

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

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

使用 psexec 执行这段,

技术分享

文章来自:http://www.cnblogs.com/CoreXin/p/5743412.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3