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/
Attachments:
open |
download -
patch.listen.unix1.txt
(6.5 KB)