使用formidable 上传文件遇到502 gateway
发布于 11 年前 作者 soliury 5227 次预览 最后一次回复是 11 年前 来自
这个是nginx的log,我之前好好的,现在我升级express到4以后,用的formidable处理上传,不用反响代理没有问题,但是用上nginx就出错。 502 Bad Gateway
2014/08/07 01:45:45 [error] 16442#0: *3 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 118.119.166.195, server: localhost, request: "POST /postimg HTTP/1.1", upstream: "http://127.0.0.1:3001/postimg", host: "www.lingyong.me", referrer: "http://www.lingyong.me/post"
1 回复
Nginx 配置问题. http://www.cnblogs.com/shtml/p/3802519.html http://blog.csdn.net/bruce128/article/details/9665503