解决 nginx 413 Request Entity Too Large
2012-03-08 21:07
337 查看
上传2M多的附件时,出现如下错误
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/0.8.48</center>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MS startActivitySchemeProcess.htmlPOST http://tt.com.cn/approval/startActivitySchemeProcess.html 413 (Request Entity Too Large)
这是由于上传的附件超过了nginx的设置(nginx默认允许上传的附件的大小为1M)
vi /usr/local/nginx/conf/nginx.conf
lient_max_body_size 20m; ##可以根据自己的实际需要去定义上传附件的大小;
修改完之后,重启本文出自 “lynnteng0” 博客,请务必保留此出处http://lynnteng0.blog.51cto.com/2145094/800727
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/0.8.48</center>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MS startActivitySchemeProcess.htmlPOST http://tt.com.cn/approval/startActivitySchemeProcess.html 413 (Request Entity Too Large)
这是由于上传的附件超过了nginx的设置(nginx默认允许上传的附件的大小为1M)
vi /usr/local/nginx/conf/nginx.conf
lient_max_body_size 20m; ##可以根据自己的实际需要去定义上传附件的大小;
修改完之后,重启本文出自 “lynnteng0” 博客,请务必保留此出处http://lynnteng0.blog.51cto.com/2145094/800727
相关文章推荐
- Nginx代理的应用返回出现“413 Request Entity Too Large”错误(解决方法)
- Nginx: 413 Request Entity Too Large解决方法
- 使用nginx做反代时遇到413 Request Entity Too Large的解决方法
- Nginx HTTP:413 Request Entity Too Large解决方法
- nginx提示413 Request Entity Too Large解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- 【Nginx】错误 413 Request Entity Too Large 的解决方法
- nginx 上传文件出现413 Request Entity Too Large 的解决方法
- Nginx “413 Request Entity Too Large”错误解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- Nginx 出现413 Request Entity Too Large得解决方法
- Nginx出现“413 Request Entity Too Large”错误解决方法
- Nginx 出现413 Request Entity Too Large 错误解决方法(上传大小限制)
- nginx、Apache、IIS服务器解决 413 Request Entity Too Large问题方法汇总
- Nginx解决错误413 Request Entity Too Large
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- Nginx出现“413 Request Entity Too Large”错误解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法