Nginx on PLANET ARGON
|
|
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. |
|
|
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). |
|
|
Hi, Can you use Nginx with shared services? |
|
|
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’. |
|
|
Yes, this is the case. You can use Nginx with our standard rails hosting accounts. |
|
|
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? |
|
|
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. |