Igor,<br><br>
The configuration in debian is pretty much as follows:<br>configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module<br>
<br>Mark,<br><br>This is a bit out of scope for this list - you need to talk to the maintainer of the package you use.<br><br>That said, Igor is correct in pointing out as I was about it to that there is no need for the full path, which is why I wrote the suggested configuration the way I did.  Also in the style of these debian configurations you would move all the non-include directives into files in conf.d or into httpd.conf (the global server configuration file) and NOT have them in the main nginx block.<br>
<br>- Merlin<br><br><br><div class="gmail_quote">2009/3/23 Igor Sysoev <span dir="ltr">&lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt;</span><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">On Mon, Mar 23, 2009 at 08:27:03PM +0000, Mark Alan wrote:<br>
<br>
</div><div class="im">&gt; Merlin wrote:<br>
&gt; &gt;The simplest debian-like nginx.conf is something like this:<br>
&gt;<br>
&gt; In Ubuntu/Debian the main differences are:<br>
&gt;<br>
&gt; # debian&#39;s web server user (instead of nobody or apache)<br>
&gt; -#user  nobody;<br>
&gt; +user www-data;<br>
&gt;<br>
&gt; # debian&#39;s /etc/logrotate.d/nginx writes to /var/log/nginx/*.log<br>
&gt; +error_log  /var/log/nginx/error.log;<br>
&gt; +pid  /var/run/nginx.pid;<br>
&gt;<br>
&gt; http {<br>
&gt; -    include  mime.types;<br>
&gt; +    include  /etc/nginx/mime.types;<br>
&gt;<br>
&gt; -    #access_log  logs/access.log  main;<br>
&gt; +    access_log       /var/log/nginx/access.log;<br>
&gt;<br>
&gt; +    tcp_nodelay  on;<br>
&gt;<br>
&gt; +    gzip  on;<br>
&gt;<br>
&gt; +    include /etc/nginx/conf.d/*.conf;<br>
&gt; +    include /etc/nginx/sites-enabled/*;<br>
&gt; }<br>
<br></div><div class="im"><br>
<br>
<br>
</div><div><div></div><div class="h5">--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</div></div></blockquote></div><br>