413 Request Entity Too Large

Aleksandar Lazic al-nginx at none.at
Tue Jun 19 07:26:24 UTC 2018


Hi Kaushal.

On 18/06/2018 22:03, Kaushal Shriyan wrote:
>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.

What's in the nginx error logs file?

There should be more informations 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,

Best regards
Aleks


More information about the nginx mailing list