Windows10安装Nginx报错处理

发布于:2023-07-04 ⋅ 阅读:(107) ⋅ 点赞:(0)

使用Windows10安装Nginx时,报错无法打开文件。

nginx: [alert] could not open error log file: CreateFile() "logs/error.log" failed (3: The system cannot find the path specified)
2022/10/25 16:16:53 [emerg] 25676#22944: CreateFile() "C:\WINDOWS\system32/conf/nginx.conf" failed (3: The system cannot find the path specified)

 出现这个错误之后,使用cd命令,切换CMD当前目录至Nginx的解压目录即可。

 

 


网站公告

今日签到

点亮在社区的每一天
去签到