Hi, I am trying to simulate heroku on my local since our app is on heroku. I don't have access to the app in heroku though, so I just plan in recreating the same environment heroku has in implementing SSL for our app.
Anyway, I searched heroku and based on my findings and assumptions, they are using nginx. I am using WEBrick right now and I am trying to install nginx on my machine in vain. Maybe I just don't know crap about server stuff etc but can anyone help me on this? I am on OSX and plan to use nginx as my server for my rails 3 app.
Here are the things I tried:
- install nginx by manual compiling - failed. doesn't even respond when i type 'sudo nginx'
- install nginx using ports - failed. typing 'sudo nginx' just shows nada
- install passenger as a gem in rails 3 "http://www.blog.bridgeutopiaweb.com/post/install-rvm-passenger-nginx-and-rails-3-on-ubuntu-lucid-lynx/" - failed
Okay, I honestly don't know what I am doing here. Can anyone point me to the right direction on how to go about on this? I just need to run the app on nginx with ssl instead of WEBrick. Thanks!