<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Request Entity Too Large &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/request-entity-too-large/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Fri, 26 Aug 2011 13:21:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>Nginx 413 Request Entity Too Large</title>
		<link>https://lifelinux.com/nginx-413-request-entity-too-large/</link>
					<comments>https://lifelinux.com/nginx-413-request-entity-too-large/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 26 Aug 2011 13:10:04 +0000</pubDate>
				<category><![CDATA[Nginx]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[client request]]></category>
		<category><![CDATA[client_max_body_size]]></category>
		<category><![CDATA[content length]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[image upload]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[Request Entity Too Large]]></category>
		<category><![CDATA[reverse proxy]]></category>
		<category><![CDATA[size image]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1132</guid>

					<description><![CDATA[<p>I&#8217;m currently running web server using Nginx. And when i try to upload file more than 1M, i got Nginx error 403: Request entity too large. How do I fix this problem and allow file upload upto 2MB in size? client_max_body_size assigns the maximum accepted body size of client request, indicated by the line Content-Length [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/nginx-413-request-entity-too-large/">Nginx 413 Request Entity Too Large</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>I&#8217;m currently running web server using Nginx. And when i try to upload file more than 1M, i got Nginx error 403: Request entity too large. How do I fix this problem and allow file upload upto 2MB in size?<br />
<span id="more-1132"></span><br />
<strong>client_max_body_size</strong> assigns the maximum accepted body size of client request, indicated by the line Content-Length in the header of request. If size is greater the given one, then the client gets the error &#8220;Request Entity Too Large&#8221; (413). To fix this, type the following command as root</p>
<pre>
# vi /usr/local/nginx/conf/nginx.conf
</pre>
<p>Add client_max_body_size in http section</p>
<pre>
http {
    ....
    client_max_body_size 2M;
    ....
}
</pre>
<p>Save and close the file. Reload the nginx, type the following command</p>
<pre>
# /usr/local/nginx/sbin/nginx -s reload
</pre>
<g:plusone href="https://lifelinux.com/nginx-413-request-entity-too-large/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/nginx-413-request-entity-too-large/">Nginx 413 Request Entity Too Large</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/nginx-413-request-entity-too-large/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
