diff --git a/network/nginx/nginx.conf b/network/nginx/nginx.conf index 1552ad391..754871e9c 100644 --- a/network/nginx/nginx.conf +++ b/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 +