title: 404 Not Found on File Upload After 5 Files
body: <p>When I try to upload files using jQuery File Upload, everything works as planned for any number of files up until 5. When I try to POST 5 or more files the server responds with a 404 Not Found, but POSTing 4 files to the same URL it upload and processes perfectly fine. What could be the issue?</p>
  
  <p>I'm running nginx, php-fpm, and laravel. I even set client_max_body_size to 0 after trying high limits.</p>
  
  <p><strong>Access Log for 4 Files</strong>: </p>
  
  <pre><code>192.168.1.144 - - [14/Jan/2014:10:49:28 -0500] "POST /admin/job/1 HTTP/1.1" 302 449 "http://192.168.1.100:8080/admin/job/1/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" "-"
  </code></pre>
  
  <p><strong>Access Log for 5 Files</strong>: </p>
  
  <pre><code>192.168.1.144 - - [14/Jan/2014:10:45:01 -0500] "POST /admin/job/1 HTTP/1.1" 404 223 "http://192.168.1.100:8080/admin/job/1/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" "-"
  </code></pre>
  
  <p>Attached are images of the console in chrome.</p>
  
  <p><strong>5 Image Upload Test</strong></p>
  
  <p><img src="https://i.stack.imgur.com/RaQwJ.png" alt="5 Images Upload Test"></p>
  
  <p><strong>4 Image Upload Test</strong></p>
  
  <p><img src="https://i.stack.imgur.com/FI0vD.png" alt="4 Images Upload Test"></p>
  
  <p>Edit:
  Code for POST Route :</p>
  
  <pre><code>public function update($id)
      {
          $input = \Input::except('photos');
          $job = \Job::findOrFail($id);
          $job-&gt;fill($input);
  
          if(Input::hasFile('photos'))
          {
              $photos = Input::file('photos');
  
              /**
               *@var $photos Uploadedfile[]
               */
              foreach ($photos as $index =&gt; $photo)
              {
                  $fileName = \Str::random(8)  .'.'. $photo-&gt;getClientOriginalExtension();
                  $file = $photo-&gt;move(public_path() .'/job_images/', $fileName);
  
                  $jp = new \Job\Photo(array('image' =&gt; $fileName, 'description' =&gt; $input['description'][$index]));
                  $job-&gt;photos()-&gt;save($jp);
              }
          }
  
          $job-&gt;save();
          return Redirect::route('admin.job.show', $id);
      }
  </code></pre>