查看nginx的错误日志error.log 报错信息:“worker_processes”指令重复在nginx.conf 发现nginx.conf配置出现了两份。不知道什么原因生成的两份。 解决:删除一份,重启成功。