I am uploading a file In Laravel. If I upload a file of 2 MB then it is working, but If I upload a file of 10 MB it is not working. If I check php.ini it shows max\_post\_size 1024 MB and max\_file\_upload 1024 MB. 

It is working fine on local. I am using centos and nginx server.