title: How do I pass arguments to Thin in Rails 3.1+ to configure SSL?
body: <p>I'm working on enabling SSL on a Rails app in a staging environment that uses the Thin gem. It seems like I'm only a few steps away. I've set <code>config.force_ssl = true</code> in <code>config/environments/staging.rb</code>.</p>
  
  <p>Since I haven't told Thin where the SSL certificate and key are, rails puts <code>!! Invalid request</code>. At least I think that's why it's doing that.</p>
  
  <p>I found that Thin can accept arguments to determine the location of the SSL certificate and key files, as in <a href="https://stackoverflow.com/a/7862689/783601">this answer</a>. However, I can't figure out where to tell Rails to start Thin with these arguments. How do I do this?</p>