I am trying to upload videos using laravel, filepond and s3 bucket. When file size is greater than 5Mb aws is not returning anything and even the file is not getting uploaded. But when the file size is less than 5Mb it's getting uploaded and I am able to get the s3 file path.
public function upload_video(Request $request){
if ($request->hasFile('link')) {
$video_link = Storage::disk('s3')->put('videos', $request->file('link'));
return $video_link;
}
}
client_max_body_sizefor nginx? What does php have set forupload_max_filesizeandpost_max_size?