Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Dec 14, 2009 3:04 pm 
Offline
Newbie

Joined: Mon Dec 14, 2009 2:56 pm
Posts: 2
So I took the plunge and I purchased a basic Linode box to give myself a place to experiment with building RoR apps.

So far I've found success in setting up Ubuntu 8.04 running Nginx that proxys to a single mongrel server.

My problem is this: now that I have one project up and running, can I can setup a second RoR app/domain name and have Nginx proxy requests to that one too. (without disturbing my current app)

I haven't been able to find an example of an Nginx conf file that does this and if I try to load up another Mongrel (ruby script/server -d) it throws a "Port such and such in use error".

At this point I'm not sure if I'm asking the right question or where to go for documentation on this kind of setup so if I could get help asking the right question that would be a good start.

Thanks in advanced,

-Matt


Top
   
 Post subject:
PostPosted: Mon Dec 14, 2009 8:37 pm 
Offline
Senior Newbie

Joined: Mon Oct 12, 2009 10:13 am
Posts: 8
Website: http://www.alextambellini.com
I would suggest you take a look at http://www.modrails.com . They have a nice nginx/apache2 module that will handle everything for you.


Top
   
 Post subject:
PostPosted: Mon Dec 14, 2009 9:54 pm 
Offline
Newbie

Joined: Mon Dec 14, 2009 2:56 pm
Posts: 2
Finally figured this out. Seems that while trying to set it up the first time around I didn't properly install the passenger nginx module and it wasn't loading things properly.

Rocking and Rolling now ^_^


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group