Welcome! Log In Create A New Profile

Advanced

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Mark Alan
March 23, 2009 05:32AM
<49C62A0E.1040707@e-healthexpert.org> <20090322172725.GL25573@mdounin.ru>

Maxim Dounin wrote:
> This is not bug, it's by design. And this allows to catch obvious
> configuration errors easily - without even breaking working setup,
> since nginx master process will refuse to reload configuration
> with bugs (and hence old worker processes with correct
> configuration will continue to serve requests).

I do think that the duplication check mechanism is very useful and among
the strongest points of nginx. But I was not talking about that.

nginx could still avoid breaking working setup by doing duplication
checks and catch errors. It could have the best of both worlds by simply
doing duplication check AFTER reading all .conf files, but still
giving precedence to .conf files in the priority directory /conf.d/.

I am thinking of, at least, /etc/php5/conf.d, /etc/apt/apt.conf.d,
/etc/mysql/conf.d, /etc/apache2/conf.d. They all work rather well and
respect /conf.d/*.conf precedence without breaking program's internal
integrity.

> Also I should say that debian default config layout for nginx is
> rather bad, since it provokes many configuration bugs.

So, the debian nginx package maintainer is sloppy.
In your opinion what changes should be made to the Debian package to
clean those bugs?

> Some of them are easy to find thanks to duplication checks,
> but some are really hard to find.

Now, really helpful would be if you could provide us with a known list
of those configuration bugs, in special those hard to find. Or, at
least, point us to a web site were those configuration bugs are clearly
listed for future reference.


M.
Subject Author Posted

Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Mark Alan March 22, 2009 08:38AM

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Maxim Dounin March 22, 2009 02:08PM

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Mark Alan March 23, 2009 05:32AM

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Merlin March 23, 2009 02:20PM

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Mark Alan March 23, 2009 04:53PM

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Igor Sysoev March 23, 2009 04:58PM

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Igor Sysoev March 23, 2009 04:58PM

Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?

Merlin March 23, 2009 05:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
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