8 messages in ru.sysoev.nginxRe: Bug in the nginx-0.7.xx include ....
FromSent OnAttachments
Mark AlanMar 22, 2009 5:07 am 
Maxim DouninMar 22, 2009 10:27 am 
Mark AlanMar 23, 2009 1:55 am 
MerlinMar 23, 2009 10:51 am 
Mark AlanMar 23, 2009 1:26 pm 
Igor SysoevMar 23, 2009 1:33 pm 
Igor SysoevMar 23, 2009 1:39 pm 
MerlinMar 23, 2009 2:00 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Bug in the nginx-0.7.xx include .../conf.d/*.conf process ?Actions...
From:Mark Alan (var@e-healthexpert.org)
Date:Mar 23, 2009 1:55:58 am
List:ru.sysoev.nginx

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.