window 版启动nginx cmd 闪退 怎么都无法启动: 1.首先: 将你的Nginx文件下的logs文件夹中的error.log打开 2.查看错误: 3.发现报错 这是应为配置文件错误。 在nginx中if与(之间必须有空格。