ribbon image search rewind fast-forward speech-bubble pie-graph star

解决 Nginx 413 Request Entity Too Large

最近做 Node 上传服务,NGINX 代理,因此本地测试没问题,但是发到线上 代理抛出异常;

其实这个也很简单,重新配置下 Nginx 的上传限制:

server {  
    ...
    listen       80;
    server_name  localhost;
    client_max_body_size 20M;
    ...
}

You Can Speak "Hi" to Me in Those Ways