android文件上传413 nginx [error] 9679#0: *318855 client intended to send too large body: 1593409 bytes
来源:互联网 发布:韩顺平满汉楼数据库表 编辑:程序博客网 时间:2024/06/11 20:11
问题描述:
android 图片文件上传服务器返回 413
ios 上传正常
排查:
# whereis nginx
# vi /etc/nginx/nginx.conf
查看日志存放地址
# cat /var/log/nginx/hiad.error.log
nginx [error] 9679#0: *318855 client intended to send too large body: 1593409 bytes
2015/01/28 10:36:07 [error] 9679#0: *318855 client intended to send too large body: 1593409 bytes,client: 119.6.106.214, server: adtest.ihimi.net, request: "POST /wxkmsvc/dataService?app=mobile&controller=upload&action=upload HTTP/1.1", host: "。。。。。
解决方法:
- 修改/etc/php.ini 中的upload_max_filesize=20M;post_max_size = 20M
- nginx 配置修改:
- 在http{}里添加参数client_max_body_size 20M;
- keepalive_timeout 的值根据情况修改。调整超时时间。
0 0
- android文件上传413 nginx [error] 9679#0: *318855 client intended to send too large body: 1593409 bytes
- nginx报错 client intended to send too large body: 1331696 bytes
- nginx报错 client intended to send too large body: 1331696 bytes
- Nginx上传文件提示413 Request Entity Too Large
- 上传文件,Nginx出现的413 Request Entity Too Large错误
- 修改nginx文件上传大小限制(413 Request Entity Too Large错误解决)
- 安装wordpress,上传主题文件时候nginx出现:413 Request Entity Too Large
- nginx 上传文件 413 Request Entity Too Large问题的解决方法
- 解决上传文件时 nginx 413 Request Entity Too Large 错误
- linux 使用nginx代理上传大文件 413 request entity too large
- nginx 上传文件出现413 Request Entity Too Large 的解决方法
- android error: cannot connect to daemon: Result too large
- Nginx报错 -- When upload large photo, error says "413 Request Entity Too Large".
- 上传文件异常问题 | 413 Request Entity Too Large
- 上传大文件问题 413 (Request Entity Too Large)
- PHP CURL上传文件出现413 Request Entity Too Large
- laravel上传文件报错:413 Request Entity Too Large
- 上传文件限制导致413-Request Entity Too Large
- PHP7和HHVM的性能之争
- 在stm32上使用Arduino IDE(神舟I号为例)
- 简单配置拦截器
- log4j日志管理系统的简单使用说明
- 海量数据处理双层桶
- android文件上传413 nginx [error] 9679#0: *318855 client intended to send too large body: 1593409 bytes
- xCode6制作动态及静态Framework
- 阿甘学Java--lesson1
- 【SzNOI语法百题】【d011】 输入一个数 ,输出其绝对值
- JSoup 初体验:使用JSoup下载 Leetcode 题目
- 1. Hibernate_简介
- 职工管理系统的开发(C++)
- 单击窗体的按钮
- 忘记MySQL root密码,怎么办?