nginx-0.7.4

Manlio Perillo manlio_perillo at libero.it
Mon Jun 30 17:43:20 MSD 2008


Igor Sysoev ha scritto:
> On Mon, Jun 30, 2008 at 01:59:38PM +0100, Phillip B Oldham wrote:
> 
>> The -g switch? Any more details on this? There's nothing in the wiki yet:
>> http://wiki.codemongers.com/NginxCommandLine
> 
> The -g switch allow to set global directive in command line, e.g.:
> 
> nginx -g "pid /var/run/nginx.pid; worker_processes `sysctl -n hw.ncpu`;"
> 
> Note the semicolon after last directive.
>

By the way, some time ago, I wrote a patch with the implementation of a 
new switch -p.

It allows to set the prefix path in command line.



Regards  Manlio Perillo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngx_runtime_config.patch
Type: text/x-diff
Size: 2018 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20080630/9ed69886/attachment.patch>


More information about the nginx mailing list