Staring Shotgun with Thin as server using SSL

Posted by Bryan Paronto on Stack Overflow See other posts from Stack Overflow or by Bryan Paronto
Published on 2012-11-14T22:57:23Z Indexed on 2012/11/14 22:59 UTC
Read the original article Hit count: 270

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ssl