[BUG] -g command line broken in Nginx 1.2.0

Piotr Sikora piotr.sikora at frickle.com
Sun May 6 07:48:51 UTC 2012


Hi,

> It seems a change in configuration parsing done in Nginx 1.2.0 [1],
> broke the -g option.
>
> $nginx -p . -c conf/nginx.conf -t -g daemon=off
> nginx: [emerg] unexpected end of parameter, expecting ";" in command line
> nginx: configuration file ./conf/nginx.conf test failed

I'm not sure where did you come up with that syntax, but it's wrong.

man nginx

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >



More information about the nginx mailing list