title: Nginx file upload error - too big file
body: <p>i have nginx on centOS distro. Everything is configured to upload files fine for me..</p>
  
  <ul>
  <li>in etc/php.ini (dont know why on centos this file is in root of etc but its working) i have <strong>upload_max_filesize</strong> 60M, <strong>client_max_body_size</strong> 80M and <strong>post_max_size</strong> 80M.</li>
  </ul>
  
  <p>Other files like nginx server configuration have these upload directives too.</p>
  
  <p>But when I'm uploading a 1mb file nginx is erroring 413 Request Entity Too Large.
  My web app is showing that server have 60mb file limit like info.php file.
  I did a reboot, nginx reload, restart, php reload. </p>
  
  <p>I have checked everything on stackoverflow and net to fix this but nothing helped. </p>
  
  <p>Nginx logs: Nginx is showing that user is trying to upload bigger file than limit.</p>
  
  <p>There is a pdf of my <strong>info.php</strong> file: <a href="http://docdro.id/YAylJcO" rel="nofollow noreferrer">http://docdro.id/YAylJcO</a></p>