Sep 8, 2017
0
Level 1
413 Request Entity Too Large - Nginx
I am hosting a laravel site on a digitalocean droplet. When i upload more than 8MB media i am facing the error : 413 Request Entity Too Large
I have changed settings as follows :
-
/etc/nginx/nginx.conf http block client_max_body_size 250M;
-
/etc/php/7.0/fpm/php.ini upload_max_filesize = 200M memory_limit = 310M post_max_size = 300M max_execution_time = 24000
After the changes, i restarted nginx and php7.0-fpm
But when i upload media i am getting the same error with the following response headers
I am using spatie/laravel-medialibrary to upload chunked files
Thank you
Please or to participate in this conversation.