咨询一下,两台windows搭nginx服务器,配置文件改完上传后报错咋回事啊

image.pngimage.png

FineReport 帆软用户Hw32qe7nXw 发布于 前天 15:30 (编辑于 前天 15:32
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
CD20160914Lv8专家互助
发布于前天 15:32(编辑于 前天 15:33
  • 帆软用户Hw32qe7nXw 帆软用户Hw32qe7nXw(提问者) 在error.log里面发现这个错误
    2025/09/04 14:58:38 [error] 6500#11156: *1 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/favicon.ico" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "171.161.99.189", referrer: "http://171.161.99.189/"
    2025/09/04 15:00:16 [notice] 12008#11028: signal process started
    2025/09/04 15:23:20 [emerg] 13020#12456: unknown directive "check" in D:\nginx-1.28.0\nginx-1.28.0/conf/nginx.conf:39
    2025/09/04 15:24:42 [error] 6160#11996: *1 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025/09/04 15:24:42 [error] 6160#11996: *1 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/favicon.ico" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "171.161.99.189", referrer: "http://171.161.99.189/status"
    2025/09/04 15:25:03 [error] 6160#11996: *1 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025/09/04 15:25:30 [error] 6160#11996: *1 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025/09/04 15:25:48 [error] 6160#11996: *1 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025/09/04 15:25:51 [error] 6160#11996: *1 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025/09/04 15:27:12 [error] 6160#11996: *4 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025/09/04 15:28:43 [error] 6160#11996: *6 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025/09/04 15:29:35 [error] 6160#11996: *6 CreateFile() "D:\nginx-1.28.0\nginx-1.28.0/html/status" failed (2: The system cannot find the file specified), client: 171.161.99.189, server: localhost, request: "GET /status HTTP/1.1", host: "171.161.99.189"
    2025-09-04 15:33 
  • 帆软用户Hw32qe7nXw 帆软用户Hw32qe7nXw(提问者) 是我另外台服务器没配置的原因吗
    2025-09-04 15:36 
  • 帆软用户Hw32qe7nXw 帆软用户Hw32qe7nXw(提问者) 两边的配置文件都要修改吗
    2025-09-04 15:45 
  • CD20160914 CD20160914 回复 帆软用户Hw32qe7nXw(提问者) 是的呀,两边都要修改的呀。
    2025-09-04 15:52 
  • 帆软用户Hw32qe7nXw 帆软用户Hw32qe7nXw(提问者) 回复 CD20160914 另外一边我也同样修改配置文件了,那边查状态也是404
    2025-09-04 15:54 
  • 2关注人数
  • 54浏览人数
  • 最后回答于:前天 15:33
    请选择关闭问题的原因
    确定 取消
    返回顶部