summaryrefslogtreecommitdiffstats
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-a4e4cfd932796953efa6d93cce76cd93c558b9a2.tar.gz
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 e4e5f6310..7f8393789 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -63,6 +63,11 @@ do_configure () {
63 --conf-path=${sysconfdir}/nginx/nginx.conf \ 63 --conf-path=${sysconfdir}/nginx/nginx.conf \
64 --http-log-path=${localstatedir}/log/nginx/access.log \ 64 --http-log-path=${localstatedir}/log/nginx/access.log \
65 --error-log-path=${localstatedir}/log/nginx/error.log \ 65 --error-log-path=${localstatedir}/log/nginx/error.log \
66 --http-client-body-temp-path=/run/nginx/client_body_temp \
67 --http-proxy-temp-path=/run/nginx/proxy_temp \
68 --http-fastcgi-temp-path=/run/nginx/fastcgi_temp \
69 --http-uwsgi-temp-path=/run/nginx/uwsgi_temp \
70 --http-scgi-temp-path=/run/nginx/scgi_temp \
66 --pid-path=/run/nginx/nginx.pid \ 71 --pid-path=/run/nginx/nginx.pid \
67 --prefix=${prefix} \ 72 --prefix=${prefix} \
68 --with-http_ssl_module \ 73 --with-http_ssl_module \