Home  >  Q&A  >  body text

linux - Newbie-----How to configure request forwarding in nginx?

error.log

2017/04/30 10:06:56 [error] 7822#0: *1 open() "/data/www/articles" failed (2: No such file or directory), client: 183.236.0.94, server: 118.89.60.119, request: "GET /articles HTTP/1.1", host: "118.89.60.119"

淡淡烟草味淡淡烟草味2713 days ago548

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-16 13:26:36

    location /api/ {
        proxy_pass http://ip:port
    }

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-16 13:26:36

    /a/11...
    This is the note I wrote about Nginx configuration, I hope it will be helpful to you

    reply
    0
  • Cancelreply