RailsCasts Pro episodes are now free!

Learn more or hide this

Jim J's Profile

GitHub User: gruntled

Comments by Jim J

Avatar

This is as close as I've come to finding a good tutorial. I'm not skilled enough to reconcile the differences between that walk-through and this Railscast.

Have you found anything?

Avatar

Hey jDeppen thanks for posting this. Is this the only change you made? I tried it and am getting this error when starting Nginx:

error code
Restarting nginx: nginx: [emerg] host not found in upstream "unicorn" in /etc/nginx/sites-enabled/blog:21
nginx: configuration file /etc/nginx/nginx.conf test failed

I have 2 apps, blog and blog2. Followed Ryan's recipe verbatim with both apps, with one change (besides using blog2 in 2nd app). I have 2 domains propagated to my VPS and am using those as the server_name on line 7 of nginx.conf. I've been doing some Googling to see if there's anything I need to be doing with my hosts file, but no enlightenment.

Avatar

Thanks Brian, for breaking the noobish question ice. Here's another one: Would anybody care to weigh in on the pros & cons of this EC2 service vs. using a VPS? Or maybe offer a link to an article that hits this question?

Thanks everybody and thanks again Ryan.