You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sunmaobin
changed the title
经验分享:解决Ngxin和Node环境下 Runtime Error : 413,request entity too large
经验分享-解决Ngxin和Node环境下 Runtime Error : 413,request entity too large
Apr 17, 2019
背景
我们服务端使用Nginx+Node(Express v4.15.2)部署,今天遇到Post参数过长时请求报错:
为什么会过长呢?因为有一个变态的需求,就是需要将图片读出来BASE64作为参数传递,所以...
解决
在路由接口上增加2个参数,如下:
然后reload一下Ngxin的服务:
app.js
文件,修改2个参数,如下(假如参数限制50M):The text was updated successfully, but these errors were encountered: