I sometimes use NginX on Debian and maybe we really need to talk to Fabio and Jose (the package maintainers in debian) as I don&#39;t see them post here ever.<br><br>In my humble opinion there is no reason NginX&#39;s core should change from a very useful (in terms of safety, debugging) feature to a less useful feature only supporting an incomplete package.  <br>
<br>The simplest debian-like nginx.conf is something like this:<br>(where N and M are appropriate numbers)<br>----<br>user www-data;<br>worker_processes N;<br>events {<br>  worker_connections M;<br>}<br><br>http {<br>  include mime.types;<br>
  include conf.d/*.conf;<br>  include httpd.conf;<br>  include sites-enabled/*;<br>}<br>----<br><br><div class="gmail_quote">On Mon, Mar 23, 2009 at 1:56 AM, Mark Alan <span dir="ltr">&lt;<a href="mailto:varia@e-healthexpert.org">varia@e-healthexpert.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Maxim Dounin wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is not bug, it&#39;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).<br>

</blockquote>
<br></div>
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.<br>
<br>
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/.<br>

<br>
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&#39;s internal integrity.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also I should say that debian default config layout for nginx is rather bad, since it provokes many configuration bugs.<br>
</blockquote>
<br></div>
So, the debian nginx package maintainer is sloppy.<br>
In your opinion what changes should be made to the Debian package to clean those bugs?<div class="im"><br>
<br>
&gt; Some of them are easy to find thanks to duplication checks,<br>
&gt; but some are really hard to find.<br>
<br></div>
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.<br>
<font color="#888888">
<br>
<br>
M.<br>
<br>
</font></blockquote></div><br>