title: Wordpress theme not uploading to Amazon EC2?
body: <p>I'm setting up a Wordpress blog on Amazon EC2 server with nginx and Varnish. I've followed <a href="http://theartofcode.tv/installing-wordpress-on-ec2" rel="nofollow">this tutorial</a> step by step.</p>
  
  <p>The blog is setup &amp; working fine.</p>
  
  <p>Now when I  try to upload a new theme through Wordpress, it starts uploading and by the time it reaches 70%(takes around 1 minute to reach 70%), the connection is abruptly disconnected with the <code>error code: ERR_CONNECTION_ABORTED</code></p>
  
  <p>I'm guessing it is due to some connection timeout that's happening in nginx, varnish or somewhere else.</p>
  
  <p>I'm new to this stuff. I did the following:</p>
  
  <ol>
  <li><p>I changed the timeout in <code>/etc/php5/fpm/pool.d/www.conf</code>
  to <code>request_terminate_timeout = 500</code></p></li>
  <li><p>I changed the timeout in <code>/etc/nginx/nginx.conf</code> to <code>fastcgi_read_timeout 500;</code></p></li>
  </ol>
  
  <p>But that didn't seem to work. I'm stuck. Kindly guide me.</p>