title: nginx returns Internal Server Error when uploading large files (several GB)
body: <p>I have an Artifactory behind nginx and uploading files larger than 4 GB fails. I am fairly certain that this is nginx's fault, because if the file is uploaded from/to localhost, no problem occurs.</p>
  
  <p>nginx is set up to have <code>client_max_body_size</code> and <code>client_body_timeout</code> large enough for this not to be an issue. </p>
  
  <p>Still, when uploading a large file (>4 GB) via curl, after about half a minute it fails. The only error message I get is <code>HTTP 500 Internal Server Error</code>, nothing is written to the nginx's error logs.</p>