Allow listening on Unix domain sockets
Igor Sysoev
is at rambler-co.ru
Sun Oct 25 13:28:14 MSK 2009
On Sat, Oct 24, 2009 at 01:58:12AM +0200, Hongli Lai wrote:
> Igor Sysoev wrote:
> > 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;
> > }
>
> I confirm that the patch works. Thanks Igor!
An updated patch version. It fixes socket name buffer size and deletes
socket files on clean exit.
--
Igor Sysoev
http://sysoev.ru/en/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.listen.unix1.txt
Type: application/octet-stream
Size: 6647 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20091025/4d1fd20b/attachment.obj>
More information about the nginx
mailing list