Two little bugs
Piotr Sikora
piotr.sikora at frickle.com
Wed Dec 8 20:46:33 MSK 2010
Hi,
> It shouldn't matter.
Yes, is should.
> For the sake of portability in whatever filesystem it happens to be,
> if in trouble, nginx should look for the config file stated at
> --conf-path= not at some pre-wired location, be it /usr/local/nginx/ or
> whatever.
No, for 2 reasons:
1) "--conf-path" is path to a file, not a directory. It points to the
default configuration and if you skip -c option then nginx *is* using this
file.
2) When you specify relative filename (nginx -c nginx.conf) then nginx is
looking in directory specified during build in "--prefix". For example, with
"--prefix=/etc/nginx" (like it's set in OpenBSD and FreeBSD ports), nginx -c
nginx.conf is opening file from /etc/nginx/nginx.conf location.
Don't blame nginx for your misuses.
Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
More information about the nginx
mailing list