title: Configure keep-alive for EC2 instance
body: <p>I have a Django app running on a python instance with Nginx as the webserver. </p>
  
  <p>I'm getting a 60 second timeout for one of my operations. According to the docs, you want to increase the load balancer's idle timeout above the default 60 seconds (<a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html" rel="noreferrer">https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html</a>)</p>
  
  <p>It also says:</p>
  
  <blockquote>
    <p>we recommend that you enable the HTTP keep-alive option for your EC2 instances. You can enable HTTP keep-alive in the web server settings for your EC2 instances</p>
  </blockquote>
  
  <p>Well I'm not sure how to do this or where that setting is. Can anyone point me to where the <code>keep-alive</code> option is?</p>