Press "Enter" to skip to content

request entity too large 413 nginx

nginx产生【413 request entity too large】错误的原因与解决方法 - yanggb - 博客园 (cnblogs.com)
client_max_body_size 20m;

Nginx报错413 Request Entity Too Large 的解决方法 – 下一朵云 (orcy.net.cn)

1.解决方法
修改 php 的配置文件 /etc/php5/fpm/php.ini

upload_max_filesize = 100M  
post_max_size = 100M

2.修改 Nginx 的配置文件

server {  
    ...  
    client_max_body_size 100m;  
    ...  
}
发表评论