title: Puma "Terminating timed out worker" after rendering HTML
body: <p>I am new to AWS Beanstalk-Rails-Puma-Nginx.
  After deploying my RAILS app to Beanstalk, all my api calls work fine, but HTML pages are causing error.</p>
  
  <p>When opening my HTML page - </p>
  
  <ol>
  <li>Nginx throws <code>502 Bad Gateway</code> error.</li>
  <li>Puma log : <br/>
  <code>Started GET "/admin" for 182.70.76.160 at 2016-04-22 05:13:19 +0000
  Processing by Devise::SessionsController#new as HTML
  Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
  [18858] ! Terminating timed out worker: 22913</code></li>
  <li><code>var/app/current/production.log</code> is empty.</li>
  </ol>
  
  <p>Read somewhere, that adding SSL could solve. Is it required to added SSL?</p>
  
  <p>Please help! I am stuck!</p>
  
  <p><strong>STATUS</strong> : 
  My assets were huge because of which it was killing itself. I was using a theme and removed all the unnecessary js, css and images. </p>
  
  <p>Now, Puma doesn't terminate, but it doesnot compile assets. I had selected  Ruby as application type so it should do it for me, correct?</p>