nginx-0.4.4
Igor Sysoev
is at rambler-co.ru
Mon Oct 2 19:49:18 MSD 2006
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 ?
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list