Mel
Mel

Reputation: 2715

AWS EC2 - Deployment rails/passenger/nginx

I'm trying to deploy to an AWS EC2 staging instance.

I'm following these instructions:

http://alexbachuk.com/launch-rails-4-application-with-passenger-and-nginx/

When I create a test app and point to it via my local host, AWS successfully recognises the test page.

When I change the nginx conf to point to the actual app and try to point to it with my nginx server, I get a failure.

Does anyone know what's wrong with these instructions (or have any ideas what I could be doing wrong)?

The AWS deployment documentation is lacking. I can't get anything useful from there. Tearing my hair out and ready to use heroku.

Thank you.

Upvotes: 0

Views: 622

Answers (1)

mikowiec
mikowiec

Reputation: 501

There is a good tutorial here: Setup a Ruby on Rails, Passenger, Nginx running on an AWS EC2 with RDS.

Upvotes: 2

Related Questions