Two little bugs

speedfirst nginx-forum at
Wed Dec 8 03:36:58 MSK 2010

For example,

nginx/sbin/nginx -c /opt/nginx/nginx.conf

is OK, because /opt/nginx/nginx.conf is an absolute path


nginx/sbin/nginx -c nginx.conf

will get segment fault

I debug the source code, the problem is located in the function
"ngx_conf_full_name". Seems the cycle used in that function is not yet
initialized when trying to get the full path.

Posted at Nginx Forum:,156312,156602#msg-156602

More information about the nginx mailing list