I'm using the Thin web server to serve my Rails app.
- Starting the server with
thin start
serveshttp
requests. - Starting the server with
thin start --ssl
serveshttps
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
.