You are not logged in.

#1 2010-10-07 01:00:50

DaveCode
Member
Registered: 2008-08-15
Posts: 103

nginx conf patch for NGINX_PREFIX

The rc.d could use another parameter.  Change line 34 from

   /usr/sbin/nginx -c "$NGINX_CONFIG" &>/dev/null

to

   /usr/sbin/nginx -p "$NGINX_PREFIX" -c "$NGINX_CONFIG" &>/dev/null

NGINX_CONFIG gets assigned in both rc.d and conf.d.  Do the same for NGINX_PREFIX.

Then the var is obvious, not an obscure compiled-in default.

Thanks.

Offline

#2 2010-10-09 19:21:05

sagattarii
Member
Registered: 2008-11-10
Posts: 19

Re: nginx conf patch for NGINX_PREFIX

Devs don't check the forums, please create a bug report or email them via dev mailing list.

Offline

Board footer

Powered by FluxBB