Browse Source

nginx: fixed to use etc/nginx as prefix when looking for relative path files

user/chris/next/master
Alejandro Mery 12 years ago
parent
commit
8941382bef
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      network/nginx/nginx.conf

+ 4
- 1
network/nginx/nginx.conf

@ -19,10 +19,13 @@ if [ $prefix_auto = 1 ]; then
fi
cleanconfopt=0
confopt="--prefix=/$prefix"
[[ "$sysconfdir" = */$pkg ]] || sysconfdir=$sysconfdir/$pkg
# prefix used by nginx when searching for files
confopt="--prefix=$sysconfdir"
var_append confopt ' ' "--sbin-path=$sbindir"
var_append confopt ' ' "--conf-path=$sysconfdir/nginx.conf"
# set path to nginx.pid file
var_append confopt ' ' "--pid-path=$localstatedir/run/nginx.pid"

Loading…
Cancel
Save