Setting up SSL on Nginx, Passenger, Sinatra
- by 12preschph
I have a Sinatra app that runs both on locally and on Heroku.
When visiting my site over HTTPS across Heroku, it will indeed work as Heroku provides this by default.
How can I set up SSL to work on my localhost machine?
I will enable my Sinatra app to only allow secure connections so I need to test this both in development and production.
Currently, I am running the following locally:
SERVER= nginx/1.6.0 + Phusion Passenger 4.0.42
Also, where is my nginx folder? I don't have it installed in the normal location (Ubuntu) so this must come custom with Passenger?