| From | Sent On | Attachments |
|---|---|---|
| Hongli Lai | Oct 23, 2009 6:12 am | |
| Cliff Wells | Oct 23, 2009 1:15 pm | |
| Nick Pearson | Oct 23, 2009 1:34 pm | |
| Hongli Lai | Oct 23, 2009 1:49 pm | |
| Leo P. | Oct 23, 2009 1:50 pm | |
| Igor Sysoev | Oct 23, 2009 2:20 pm | .txt |
| Maxim Dounin | Oct 23, 2009 3:35 pm | |
| Hongli Lai | Oct 23, 2009 4:57 pm | |
| Igor Sysoev | Oct 25, 2009 3:27 am | .txt |
| Hongli Lai | Nov 17, 2009 2:52 am | |
| Hongli Lai | Nov 17, 2009 2:56 am | |
| Igor Sysoev | Nov 17, 2009 6:13 am |
| Subject: | Re: [Patch] Allow listening on Unix domain sockets | |
|---|---|---|
| From: | Nick Pearson (nick...@gmail.com) | |
| Date: | Oct 23, 2009 1:34:13 pm | |
| List: | ru.sysoev.nginx | |
Is this not supported already? I don't know for sure that it is, but I was recently reading on the github blog about setting up nginx with unicorn, and using domain sockets is how they do it:
http://github.com/blog/517-unicorn
Maybe they modified nginx themselves, but from the article it doesn't sound like it.
Anyway, if it's not included in nginx already, then +1 from me too.
Nick
On Fri, Oct 23, 2009 at 3:16 PM, Cliff Wells <cli...@develix.com> wrote:
+1 on this (assuming the patch is acceptable).
Regards, Cliff
On Fri, 2009-10-23 at 15:12 +0200, Hongli Lai wrote:
Hi.
The attached patch allows Nginx to listen on Unix domain sockets, like this:
server { listen unix:/tmp/nginx.sock; server_name foobar.com; root /webapps/foobar; }
We use it to improve proxying performance; Unix domain sockets are faster than TCP sockets.
I'd like to see this patch getting merged upstream. Could a maintainer please review this patch?
With kind regards, Hongli Lai
Attachments: http://www.ruby-forum.com/attachment/4174/nginx-unix-sockets.diff






.txt