8 messages in ru.sysoev.nginxRe: Re: nginx-0.4.4
FromSent OnAttachments
Igor SysoevOct 2, 2006 4:56 am 
Jonathan DanceOct 2, 2006 7:58 am 
Igor SysoevOct 2, 2006 8:02 am 
Jonathan DanceOct 2, 2006 8:38 am 
Igor SysoevOct 2, 2006 8:48 am 
Jonathan DanceOct 2, 2006 9:03 am 
Cliff WellsOct 2, 2006 2:41 pm 
Igor SysoevOct 2, 2006 10:16 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: Re: nginx-0.4.4Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Oct 2, 2006 8:48:55 am
List:ru.sysoev.nginx

On Mon, 2 Oct 2006, Jonathan Dance wrote:

I might have another one for you. This is now broken for me:

include mime.types;

With my setup, this used to become /etc/nginx/mime.types. I think the glob support might have broken this. You should test this first on your build and see if you have the same result - something else could be broken in my setup. This is the error I get:

glob() "/usr/local/nginx/mime.types" failed (2: No such file or directory)

Which is also marginally odd because /usr/local/nginx doesn't exist. This is my configure line:

./configure --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-http_ssl_module

I think I had this working by calling ngx_conf_full_name on the glob string before passing it to the glob function.

The non-absolute "include" path should be relative to --prefix=<PATH>. By default it's "/usr/local/nginx".

Do "include mime.types;" and "--conf-path=/etc/nginx/nginx.conf" work before 0.4.4 ?