NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
Masonnn
V2EX  ›  NGINX

求助, Nginx 报错 No such file or directory?

  •  
  •   Masonnn · Apr 13, 2020 · 4296 views
    This topic created in 2250 days ago, the information mentioned may be changed or developed.

    Nginx 配置了正向代理。
    在 client curl 时报 404 。
    在 server 查日志报错如下:
    open() "/apps/svr/nginx/html/v4/openim/admin_getroammsg" failed (2: No such file or directory), client: 10.16.14.90, server: localhost, request: "GET http://console.tim.qq.com/v4/openim/admin_getroammsg HTTP/1.1", host: "console.tim.qq.com"

    比较困惑的是 Nginx 为什么去 server 本地 html 文件夹下拿一个静态文件。
    是因为 resolver 没解析到这个域名?

    2 replies    2020-04-13 20:04:44 +08:00
    learningman
        1
    learningman  
       Apr 13, 2020 via Android
    你配个正向代理,你说呢?
    你先去查一下,正向代理和反向代理。
    horkooo
        2
    horkooo  
       Apr 13, 2020 via Android
    日志错误可以忽略
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1044 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:44 · PVG 06:44 · LAX 15:44 · JFK 18:44
    ♥ Do have faith in what you're doing.