直接使用 nginx.exe -s reload 重启无效,可能是你启动了多个nginx服务。 我们需要将所有nginx服务关闭重新启动。 taskkill /IM nginx.exe /F 结束多个进程 最后通过start nginx启动