Manlio Perillo manlio_perillo at
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:
> The -g switch allow to set global directive in command line, e.g.:
> nginx -g "pid /var/run/; 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: <>

More information about the nginx mailing list