|
|
@ -30,11 +30,11 @@ var_append confopt ' ' "--pid-path=$localstatedir/run/nginx.pid" |
|
|
|
var_append confopt ' ' "--lock-path=$localstatedir/lock/nginx.lock" |
|
|
|
|
|
|
|
# set path to the http proxy temporary files |
|
|
|
var_append confopt ' ' "--http-proxy-temp-path=$localstatedir/$pkg/temp/proxy_temp" |
|
|
|
var_append confopt ' ' "--http-proxy-temp-path=$localstatedir/temp/proxy_temp" |
|
|
|
# set path to the http fastcgi temporary |
|
|
|
var_append confopt ' ' "--http-fastcgi-temp-path=$localstatedir/$pkg/temp/fastcgi_temp" |
|
|
|
var_append confopt ' ' "--http-fastcgi-temp-path=$localstatedir/temp/fastcgi_temp" |
|
|
|
# set path to the http client request body |
|
|
|
var_append confopt ' ' "--http-client-body-temp-path=$localstatedir/$pkg/temp/client_body_temp" |
|
|
|
var_append confopt ' ' "--http-client-body-temp-path=$localstatedir/temp/client_body_temp" |
|
|
|
|
|
|
|
# log directories |
|
|
|
logdir="$localstatedir/log/$pkg" |
|
|
@ -45,3 +45,10 @@ var_append confopt ' ' "--error-log-path=$logdir/error.log" |
|
|
|
if pkginstalled openssl; then |
|
|
|
var_append confopt ' ' "--with-http_ssl_module" |
|
|
|
fi |
|
|
|
|
|
|
|
# add some optional modules not built by default |
|
|
|
var_append confopt ' ' "--with-http_stub_status_module" |
|
|
|
var_append confopt ' ' "--with-http_flv_module" |
|
|
|
var_append confopt ' ' "--with-http_realip_module" |
|
|
|
var_append confopt ' ' "--with-http_gzip_static_module" |
|
|
|
var_append confopt ' ' "--with-http_image_filter_module" |