[BUG] some directives set using -g command line options are ignored

Manlio Perillo manlio.perillo at gmail.com
Sun May 6 07:43:15 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I have noticed that some directives set using the -g command line
options are ignored.

As an example, commenting the daemon and master directives in the
nginx.conf file, the following:

nginx -p . -c conf/nginx.conf -g daemon=off -g master=off

will start an Nginx server with daemon on and master on.

I have also checked the pid and error_log directives and they are
ignored, too.

Nginx behaviour with -g error_log=<...> is strange, since the error_log
path is ignored (the default logs/error.log is used insted), but the
file is empty.


Thanks   Manlio Perillo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+mK5MACgkQscQJ24LbaUT9ogCfRu01QYfgrtciznBVMJq/mbks
2OoAnjTP8wvK3vKuUQkG3N+OTHG8TcpP
=HbwH
-----END PGP SIGNATURE-----



More information about the nginx-devel mailing list