<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 16, 2018 at 1:36 PM Aleksandar Lazic <<a href="mailto:al-nginx@none.at">al-nginx@none.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
<br>
On 16/06/2018 10:56, Kaushal Shriyan wrote:<br>
>Hi,<br>
><br>
>I am encountering 413 Request Entity Too Large in the browser. I have<br>
>added upload_max_filesize = 20M. I have added client_max_body_size 20M;<br>
>in nginx.conf and i am still facing the issue. nginx version is<br>
>1.12. Please let me know if you need any additional information.<br>
><br>
>Any help will be highly appreciated.<br>
<br>
What's in the log file?<br>
<br>
There will be more information about the reason of the 413 as you can<br>
see in the source.<br>
<br>
<a href="https://github.com/nginx/nginx/search?q=Request+Entity+Too+Large&unscoped_q=Request+Entity+Too+Large" rel="noreferrer" target="_blank">https://github.com/nginx/nginx/search?q=Request+Entity+Too+Large&unscoped_q=Request+Entity+Too+Large</a><br>
<br>
>Best Regards,<br>
><br>
>Kaushal<br><br></blockquote><div><br></div><div>Hi Aleks,</div><div><br></div><div>I have set the below settings. </div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><u>/etc/php.ini</u></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">max_input_time = 60<br></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">max_execution_time = 200<br></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><div>upload_max_size = 100M</div><div>upload_max_filesize = 100M</div></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">post_max_size = 100M<br></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><u>/opt/nginx/conf/nginx.conf </u></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">client_max_body_size 100M;</div></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><div style="text-decoration-style:initial;text-decoration-color:initial">I am still encountering <b style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font size="4">413 Request Entity Too Large nginx/1.12.1 </font></b></div><div style="text-decoration-style:initial;text-decoration-color:initial">Please comment.</div><div style="text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="text-decoration-style:initial;text-decoration-color:initial">Best Regards,</div><br></div></div></div>