title: Can't increase timeout on nginx with php-fpm
body: <p>My Nginx refuses to increase the timeout for a request from the default of 60 seconds.</p>
  <p>I've already set the following parameters, but the server still gives me 504 after 60 seconds:</p>
  <pre><code>fastcgi_connect_timeout 300s;
  fastcgi_send_timeout 300s;
  fastcgi_read_timeout 300s;
  proxy_connect_timeout 300s;
  proxy_read_timeout 300s;
  client_header_timeout 300s;
  client_max_body_size 200m;
  client_body_timeout 300s;
  send_timeout 300s;
  </code></pre>
  <p>Interestingly enough, setting the values to 30 seconds works, and the request times out after 30 seconds. The request_terminate_timeout in PHP-fpm is also set to 300 seconds.</p>
  <p>Which parameters do I have to set to get it further than 60 seconds?</p>