mac03733
275
14
Laravel

413 Request Entity Too Large ( when uplaoding image )

Posted 1 month ago by mac03733

i have validation in control

$this->validate($request,[
              'member_image' => 'mimes:jpeg,jpg,png|image|max:3000'
            ]);

validation works on local ,but on sever i get 413 Request Entity Too Large error

what i hav tried:

i set upload_max_filesize in php.ini and i set client_max_body_size in nginx.conf

then i restart them , still same problem

Please sign in or create an account to participate in this conversation.