[Patch] Allow listening on Unix domain sockets

Hongli Lai lists at ruby-forum.com
Fri Oct 23 17:12:33 MSD 2009


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

-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list