summaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2018-07-09 16:09:45 -0400
committerKhem Raj <raj.khem@gmail.com>2018-07-12 07:19:42 -0700
commit7cb4eb4a95b2fdca48b4bdc65506f57e540c7e2d (patch)
treed85e7adaec86b966a2078da3d9da6c27674e4607 /meta-webserver
parent5a5c0df3f6b82d8b468a524da4dfbb6896d50b66 (diff)
downloadmeta-openembedded-7cb4eb4a95b2fdca48b4bdc65506f57e540c7e2d.tar.gz
nginx: enable thread pools by default
The thread pool feature can be enabled without significant extra binary size. Thread pools can increase performance by an order of magnitude on some configurations Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index e6ae52a09..f1b50bcde 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -71,6 +71,7 @@ do_configure () {
71 --http-scgi-temp-path=/run/nginx/scgi_temp \ 71 --http-scgi-temp-path=/run/nginx/scgi_temp \
72 --pid-path=/run/nginx/nginx.pid \ 72 --pid-path=/run/nginx/nginx.pid \
73 --prefix=${prefix} \ 73 --prefix=${prefix} \
74 --with-threads \
74 --with-http_ssl_module \ 75 --with-http_ssl_module \
75 --with-http_gzip_static_module \ 76 --with-http_gzip_static_module \
76 ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} 77 ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}