Hi,
> 2. using relative path fails:
> sudo nginx -c nginx.conf
> with error:
> [emerg]: open() "/usr/local/nginx/nginx.conf" failed (2: No such file
> or directory)
It's supposed to fail.
> As seen bellow, my --conf-path=/etc/nginx/nginx.conf.
> Why is nginx trying to open it at /usr/local/nginx/nginx.conf?
> Is it hard wired at some other place in the code?
Because you're passing only filename.
Skip -c option if you want to use path from build-time conf-path.
Best regards,
Piotr Sikora < piotr.sikora@frickle.com >
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx