Manlio Perillo
May 06, 2012 03:44AM
-----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-----

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
SubjectAuthorViewsPosted

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

Manlio Perillo412May 06, 2012 03:44AM

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

Maxim Dounin139May 06, 2012 05:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 79
Record Number of Users: 5 on May 22, 2013
Record Number of Guests: 226 on June 13, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready