aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2017-03-21 10:42:50 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-31 13:26:00 +0200
commita4e4cfd932796953efa6d93cce76cd93c558b9a2 (patch)
tree5f2f89a9181d03a77d5eec89a842325e12407ead /meta-webserver
parentdf3d2beaf9e5d4cfc31b2b1e209dc1d8e3956fd3 (diff)
downloadmeta-openembedded-contrib-a4e4cfd932796953efa6d93cce76cd93c558b9a2.tar.gz
meta-openembedded-contrib-a4e4cfd932796953efa6d93cce76cd93c558b9a2.tar.bz2
meta-openembedded-contrib-a4e4cfd932796953efa6d93cce76cd93c558b9a2.zip
nginx: set sane defaults for temp directories
Currently the build directiories en up in /usr/*_temp which is not what most users will expect. This changes the default location to /tmp/nginx/*_tmp. The location can still be overridden in the nginx.conf file. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index e4e5f63100..7f8393789a 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -63,6 +63,11 @@ do_configure () {
--conf-path=${sysconfdir}/nginx/nginx.conf \
--http-log-path=${localstatedir}/log/nginx/access.log \
--error-log-path=${localstatedir}/log/nginx/error.log \
+ --http-client-body-temp-path=/run/nginx/client_body_temp \
+ --http-proxy-temp-path=/run/nginx/proxy_temp \
+ --http-fastcgi-temp-path=/run/nginx/fastcgi_temp \
+ --http-uwsgi-temp-path=/run/nginx/uwsgi_temp \
+ --http-scgi-temp-path=/run/nginx/scgi_temp \
--pid-path=/run/nginx/nginx.pid \
--prefix=${prefix} \
--with-http_ssl_module \