错误日志:
1)第一种: 2018/12/10 17:12:24 [emerg] 5360#6992: CreateFile() "F:\可删除文件\nginx-1.15.7/conf/nginx.conf" failed (1113: No mapping for the Unicode character exists in the target multi-byte code page)
解决方案: 由于路径中含有了中文 nginx无法获取这样的路径 所以要修改为全英文路径
2) 第二种 2018/12/10 17:16:51 [emerg] 5204#12848: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
解决方案: 由于Windows默认80 端口已被使用 所以nginx的默认配置中80端口是不能正常使用的 需修改nginx的配置文件中的监听端口