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"><<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>></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">> Merlin wrote:<br>
> >The simplest debian-like nginx.conf is something like this:<br>
><br>
> In Ubuntu/Debian the main differences are:<br>
><br>
> # debian's web server user (instead of nobody or apache)<br>
> -#user nobody;<br>
> +user www-data;<br>
><br>
> # debian's /etc/logrotate.d/nginx writes to /var/log/nginx/*.log<br>
> +error_log /var/log/nginx/error.log;<br>
> +pid /var/run/nginx.pid;<br>
><br>
> http {<br>
> - include mime.types;<br>
> + include /etc/nginx/mime.types;<br>
><br>
> - #access_log logs/access.log main;<br>
> + access_log /var/log/nginx/access.log;<br>
><br>
> + tcp_nodelay on;<br>
><br>
> + gzip on;<br>
><br>
> + include /etc/nginx/conf.d/*.conf;<br>
> + include /etc/nginx/sites-enabled/*;<br>
> }<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>