Welcome! Log In Create A New Profile

Advanced

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

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
Subject Author Views Posted

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

Manlio Perillo 1201 May 06, 2012 03:44AM

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

Maxim Dounin 597 May 06, 2012 05:50AM



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

Online Users

Guests: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready