Welcome! Log In Create A New Profile

Advanced

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

March 23, 2009 04:58PM
On Mon, Mar 23, 2009 at 08:27:03PM +0000, Mark Alan wrote:

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

Probably, it's better to ./configure --user=, --error_log-path=,
--pid-path=, and --http-log-path= and leave them commented out
in conf file as:

#user www-data;

# debian's /etc/logrotate.d/nginx writes to /var/log/nginx/*.log
#error_log /var/log/nginx/error.log;
#pid /var/run/nginx.pid;


--
Igor Sysoev
http://sysoev.ru/en/
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: 313
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