Staring Shotgun with Thin as server using SSL
- by Bryan Paronto
I have a Facebook app I'm developing locally. I've configure everything correctly to SSL development with Thin. I know that using a shotgun.rb file, I can pass options to Thin to get it to start in SSL mode, but I'm not exact sure how to pass these options.
I'm thinking something like:
Thin:Server::options[:ssl] = true
Thin:Server::options[:ssl_cert_path] = /path/to/cert/
Restarting thin constantly is getting old, so I'd really like to be able to use shotgun in development.