Nginx on PLANET ARGON

Subscribe to Nginx on PLANET ARGON 7 posts, 5 voices

 
Avatar Robby Russell 94 posts

Is anybody using Nginx on our servers aside from Timothy Bennett aka lanaer?

I came across the following post on our document project this morning.

Would love to hear how people are using this with their accounts.

 
Avatar lanaer 28 posts

asa_hopkins (aka ….?) uses nginx to deploy multiple apps on one domain, splitting the apps based on directories (I’m not even sure if Pound can do that—at least, I tried to do it with Pound and couldn’t figure it out).

 
Avatar silvia 1 post

Hi,

Can you use Nginx with shared services?

 
Avatar lanaer 28 posts

Silvia, I’m not sure exactly what you mean by shared services in this context, but nginx can be used on any of PA’s hosting accounts to forward to pretty much anything that runs on a port, so I’m going to guess the answer is ‘yes’.

 
Avatar Robby Russell 94 posts

Yes, this is the case. You can use Nginx with our standard rails hosting accounts.

 
Avatar Bryan 6 posts

I’m using nginx for http://urbandrinks.com, and it’s been great so far. The only problem I’ve had is when hosting two applications (one for development/staging, also running in production mode), I’ve had nginx shut down a couple of times. The errors look like this:

2006/12/19 11:00:41 [error] 27971#0: *2078 recv() failed (111: Connection refused) while reading response header from upstream, client: 127.0.0.1, server: urbandrinks.com, URL: ”/”, upstream: “http://127.0.0.1:10130/”, host: “urbandrinks.com”

Everything works fine if I restart nginx and mongrel.

Any ideas?

 
Avatar bovinespirit 3 posts

I’m using nginx+mongrel for my site, it’s been fine. The only issue is that it uses 3 processes. I’m running Postgres, Nginx and two instances of Mongrel, and there’s no processes left for Capistrano to run… I’m using a very similar configuration to the one on the Wiki, which contains a couple of commands not mentioned in the documentation.