mac os nginx startup launchd configure

I-hsiang Shu lists at ruby-forum.com
Fri Sep 12 21:32:53 MSD 2008


I was having the same problem...  Turning "daemon off;" in nginx.conf 
worked great.   Thanks!

Igor Sysoev wrote:
> On Fri, Aug 01, 2008 at 02:46:10AM +0200, Nanyang Zhan wrote:
> 
>>   <string>com.zhan.nginx</string>
>> It works, but inside nginx error log, I see:
>> 2008/08/01 08:24:50 [emerg] 244#0: bind() to 0.0.0.0:80 failed (48:
>> Address already in use)
> 
> Looking in Apache's plist, I see
> 
>         <key>ProgramArguments</key>
>         <array>
>                 <string>/usr/sbin/httpd</string>
>                 <string>-D</string>
>                 <string>FOREGROUND</string>
>         </array>
> 
> Probably you need to set "daemon off;" in nginx.conf.
> 
> BTW, upgrade to 0.7.8 if you are using case insensitive HFS+,
> and do not use UTF-8 strings in locations.

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





More information about the nginx mailing list