運行過程中,有個節點部分服務出現故障,像將其下線修復,
使用nginx -t; nginx -s reload 重新加載配置
得到錯誤"nginx: [error] OpenEvent("Global\ngx_reload_1868") failed (5: Access is denied)"
原因是 nginx 作為windows 服務在運行,安全性問題,不能執行
使用 psexec 執行這段 "c:\pstools\psexec.exe" -s D:\nginx-1.16.1\nginx.exe -p D:\nginx-1.16.1\nginx.exe -s reload