I'm using the Thin web server to serve my Rails app.

  • Starting the server with thin start serves http requests.
  • Starting the server with thin start --ssl serves https requests.

Is there a way to have thin serve both http and https requests concurrently?

The reason I ask is because when I use redirect_to some_path in my controllers, they redirect to http. Since thin is serving https requests, nothing is rendered.

Note: I'm using Rack::SSL in Rails 3.0.7.

Edit
Report