nginx-0.7.4

Igor Sysoev is at rambler-co.ru
Mon Jun 30 17:22:17 MSD 2008


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.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list