Browse Source

nginx: enable ssl support if openssl is installed

cross
Christian Wiese 16 years ago
parent
commit
6ea1ba2d05
  1. 6
      network/nginx/nginx.conf

6
network/nginx/nginx.conf

@ -39,3 +39,9 @@ logdir="$localstatedir/log/$pkg"
echo_status "logdir: $logdir"
var_append confopt ' ' "--http-log-path=$logdir/access.log"
var_append confopt ' ' "--error-log-path=$logdir/error.log"
# ssl support
if pkginstalled openssl; then
var_append confopt ' ' "--with-http_ssl_module"
fi

Loading…
Cancel
Save