atom feed12 messages in ru.sysoev.nginxRe: [Patch] Allow listening on Unix d...
FromSent OnAttachments
Hongli LaiOct 23, 2009 6:12 am 
Cliff WellsOct 23, 2009 1:15 pm 
Nick PearsonOct 23, 2009 1:34 pm 
Hongli LaiOct 23, 2009 1:49 pm 
Leo P.Oct 23, 2009 1:50 pm 
Igor SysoevOct 23, 2009 2:20 pm.txt
Maxim DouninOct 23, 2009 3:35 pm 
Hongli LaiOct 23, 2009 4:57 pm 
Igor SysoevOct 25, 2009 3:27 am.txt
Hongli LaiNov 17, 2009 2:52 am 
Hongli LaiNov 17, 2009 2:56 am 
Igor SysoevNov 17, 2009 6:13 am 
Subject:Re: [Patch] Allow listening on Unix domain sockets
From:Igor Sysoev (is@rambler-co.ru)
Date:Oct 23, 2009 2:20:32 pm
List:ru.sysoev.nginx
Attachments:

On Fri, Oct 23, 2009 at 03:12:33PM +0200, Hongli Lai wrote:

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?

Attachments: http://www.ruby-forum.com/attachment/4174/nginx-unix-sockets.diff

Thank you for the patch. The attached version is more correct, in particular, it allows several listen sockets:

server { listen unix:/tmp/nginx1.sock; server_name foobar1.com; }

server { listen unix:/tmp/nginx2.sock; server_name foobar2.com; }