title: Updating Shiny Server Config to change timeout error
body: <p>I have a shiny app with a <code>downloadHandler</code> built in and it works great for smaller datasets but when the file gets large (330 MB), it times out and I get an error.</p>
  
  <p>I found this SO question (<a href="https://stackoverflow.com/questions/35513329/shiny-downloadhandler-timeout">shiny downloadHandler timeout</a>) which seems to address the answer although I don't know how to update the config file to take into account <code>http_keepalive_timeout</code>.</p>
  
  <p>Below is my config file:</p>
  
  <pre><code># Instruct Shiny Server to run applications as the user "shiny"
  run_as shiny;
  
  
  # Define a server that listens on port 3838
  server {
    listen 3838;
  
    # Define a location at the base URL
    location / {
  
      # Host the directory of Shiny Apps stored in this directory
      site_dir /srv/shiny-server;
  
      # Log all Shiny output to files in this directory
      log_dir /var/log/shiny-server;
  
      # When a user visits the base URL rather than a particular application,
      # an index of the applications available in this directory will be shown.
      directory_index on;
  
    }
  }
  </code></pre>