413 Request Entity Too Large

Kaushal Shriyan kaushalshriyan at gmail.com
Mon Jun 18 16:33:26 UTC 2018


On Sat, Jun 16, 2018 at 1:36 PM Aleksandar Lazic <al-nginx at none.at> wrote:

> Hi.
>
> On 16/06/2018 10:56, Kaushal Shriyan wrote:
> >Hi,
> >
> >I am encountering 413 Request Entity Too Large in the browser. I have
> >added upload_max_filesize = 20M. I have added client_max_body_size 20M;
> >in nginx.conf and i am still facing the issue. nginx version is
> >1.12. Please let me know if you need any additional information.
> >
> >Any help will be highly appreciated.
>
> What's in the log file?
>
> There will be more information about the reason of the 413 as you can
> see in the source.
>
>
> https://github.com/nginx/nginx/search?q=Request+Entity+Too+Large&unscoped_q=Request+Entity+Too+Large
>
> >Best Regards,
> >
> >Kaushal
>
>
Hi Aleks,

I have set the below settings.

*/etc/php.ini*
max_input_time = 60
max_execution_time = 200
upload_max_size = 100M
upload_max_filesize = 100M
post_max_size = 100M

*/opt/nginx/conf/nginx.conf *
client_max_body_size 100M;

I am still encountering *413 Request Entity Too Large nginx/1.12.1 *
Please comment.

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180618/dac51bb8/attachment.html>


More information about the nginx mailing list